Compute Library
18.05
|
Interface for the dequantization layer kernel. More...
#include <NEDequantizationLayerKernel.h>
Public Member Functions | |
const char * | name () const override |
Name of the kernel. More... | |
NEDequantizationLayerKernel () | |
Default constructor. More... | |
NEDequantizationLayerKernel (const NEDequantizationLayerKernel &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEDequantizationLayerKernel & | operator= (const NEDequantizationLayerKernel &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEDequantizationLayerKernel (NEDequantizationLayerKernel &&)=default | |
Default Move Constructor. More... | |
NEDequantizationLayerKernel & | operator= (NEDequantizationLayerKernel &&)=default |
Default move assignment operator. More... | |
~NEDequantizationLayerKernel ()=default | |
Default destructor. More... | |
void | configure (const ITensor *input, ITensor *output, const ITensor *min_max) |
Set input, output, min and max. More... | |
void | run (const Window &window, const ThreadInfo &info) override |
Execute the kernel on the passed window. More... | |
Public Member Functions inherited from ICPPKernel | |
virtual | ~ICPPKernel ()=default |
Default destructor. More... | |
Public Member Functions inherited from IKernel | |
IKernel () | |
Constructor. More... | |
virtual | ~IKernel ()=default |
Destructor. More... | |
virtual bool | is_parallelisable () const |
Indicates whether or not the kernel is parallelisable. More... | |
virtual BorderSize | border_size () const |
The size of the border for that kernel. More... | |
const Window & | window () const |
The maximum window the kernel can be executed on. More... | |
Static Public Member Functions | |
static Status | validate (const ITensorInfo *input, const ITensorInfo *output, const ITensorInfo *min_max) |
Static function to check if given info will lead to a valid configuration of NEDequantizationLayerKernel. More... | |
Interface for the dequantization layer kernel.
Definition at line 38 of file NEDequantizationLayerKernel.h.
Default constructor.
Referenced by NEDequantizationLayerKernel::name().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Default Move Constructor.
|
default |
Default destructor.
Referenced by NEDequantizationLayerKernel::name().
Set input, output, min and max.
[in] | input | Source tensor with at least 3 dimensions. The dimensions over the third will be interpreted as batches. Data type supported: U8. |
[out] | output | Destination tensor with the same dimensions of input. Data type supported: F32. |
[in] | min_max | Pointer to the tensor with shape [2, batches] which stores the minimum and maximum value for each 3D input tensor. The dimensions over the second must match the batched dimensions of the input tensor. Data type supported: F32 |
Referenced by NEDequantizationLayerKernel::name().
|
inlineoverridevirtual |
Name of the kernel.
Implements ICPPKernel.
Definition at line 41 of file NEDequantizationLayerKernel.h.
References NEDequantizationLayerKernel::configure(), arm_compute::test::validation::info(), NEDequantizationLayerKernel::NEDequantizationLayerKernel(), NEDequantizationLayerKernel::operator=(), NEDequantizationLayerKernel::run(), NEDequantizationLayerKernel::validate(), IKernel::window(), and NEDequantizationLayerKernel::~NEDequantizationLayerKernel().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
Referenced by NEDequantizationLayerKernel::name().
|
default |
Default move assignment operator.
|
overridevirtual |
Execute the kernel on the passed window.
[in] | window | Region on which to execute the kernel. (Must be a region of the window returned by window()) |
[in] | info | Info about executing thread and CPU. |
Implements ICPPKernel.
Referenced by NEDequantizationLayerKernel::name().
|
static |
Static function to check if given info will lead to a valid configuration of NEDequantizationLayerKernel.
[in] | input | Input tensor info. Data types supported: U8. |
[in] | output | Output tensor info. Data types supported: F32. |
[in] | min_max | Info for the tensor with shape [2, batches] which stores the minimum and maximum value for each 3D input tensor. The dimensions over the second must match the batched dimensions of the input tensor. Data type supported: F32. |
Referenced by NEDequantizationLayerKernel::name().