24.02.1
|
Basic function to run cpu::CpuDequantize that dequantizes an input tensor. More...
#include <NEDequantizationLayer.h>
Public Member Functions | |
NEDequantizationLayer () | |
Default Constructor. More... | |
~NEDequantizationLayer () | |
Default Destructor. More... | |
NEDequantizationLayer (const NEDequantizationLayer &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEDequantizationLayer (NEDequantizationLayer &&)=default | |
Default move constructor. More... | |
NEDequantizationLayer & | operator= (const NEDequantizationLayer &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEDequantizationLayer & | operator= (NEDequantizationLayer &&)=default |
Default move assignment operator. More... | |
void | configure (const ITensor *input, ITensor *output) |
Configure the kernel. More... | |
void | run () override |
Run the kernels contained in the function. More... | |
Public Member Functions inherited from IFunction | |
virtual | ~IFunction ()=default |
Destructor. More... | |
virtual void | prepare () |
Prepare the function for executing. More... | |
Static Public Member Functions | |
static Status | validate (const ITensorInfo *input, const ITensorInfo *output) |
Static function to check if given info will lead to a valid configuration of NEDequantizationLayer. More... | |
Basic function to run cpu::CpuDequantize that dequantizes an input tensor.
Definition at line 39 of file NEDequantizationLayer.h.
Default Constructor.
Definition at line 41 of file NEDequantizationLayer.cpp.
|
default |
Default Destructor.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Default move constructor.
Configure the kernel.
Valid data layouts:
Valid data type configurations:
src | dst |
---|---|
QASYMM8 | F16, F32 |
QASYMM8_SIGNED | F16, F32 |
QSYMM8_PER_CHANNEL | F16, F32 |
QSYMM8 | F16, F32 |
QSYMM16 | F16, F32 |
[in] | input | Source tensor. Data types supported: QASYMM8/QASYMM8_SIGNED/QSYMM8_PER_CHANNEL/QSYMM8/QSYMM16. |
[out] | output | Destination tensor with the same dimensions of input. Data type supported: F16/F32. |
Definition at line 46 of file NEDequantizationLayer.cpp.
References ITensor::info(), and arm_compute::test::validation::input.
Referenced by NEDetectionPostProcessLayer::configure(), NEGenerateProposalsLayer::configure(), NELSTMLayerQuantized::configure(), and NEQLSTMLayer::configure().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Default move assignment operator.
|
overridevirtual |
Run the kernels contained in the function.
For CPU kernels:
For OpenCL kernels:
Implements IFunction.
Definition at line 59 of file NEDequantizationLayer.cpp.
References arm_compute::ACL_DST, arm_compute::ACL_SRC, ITensorPack::add_tensor(), and arm_compute::test::validation::pack.
Referenced by NEQLSTMLayer::prepare(), NEDetectionPostProcessLayer::run(), NEGenerateProposalsLayer::run(), and NELSTMLayerQuantized::run().
|
static |
Static function to check if given info will lead to a valid configuration of NEDequantizationLayer.
[in] | input | Input tensor info. Data types supported: QASYMM8/QASYMM8_SIGNED/QSYMM8_PER_CHANNEL/QSYMM8/QSYMM16. |
[in] | output | Output tensor info. Data type supported: F16/F32. |
Definition at line 54 of file NEDequantizationLayer.cpp.
References arm_compute::test::validation::input, and CpuDequantize::validate().
Referenced by NEDetectionPostProcessLayer::validate(), NEGenerateProposalsLayer::validate(), and NELSTMLayerQuantized::validate().