Compute Library
18.05
|
Depth conversion kernel. More...
#include <NEDepthConvertLayerKernel.h>
Public Member Functions | |
const char * | name () const override |
Name of the kernel. More... | |
NEDepthConvertLayerKernel () | |
Default constructor. More... | |
NEDepthConvertLayerKernel (const NEDepthConvertLayerKernel &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEDepthConvertLayerKernel (NEDepthConvertLayerKernel &&)=default | |
Default move constructor. More... | |
NEDepthConvertLayerKernel & | operator= (const NEDepthConvertLayerKernel &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEDepthConvertLayerKernel & | operator= (NEDepthConvertLayerKernel &&)=default |
Default move assignment operator. More... | |
void | configure (ITensor *input, ITensor *output, ConvertPolicy policy, uint32_t shift=0) |
Set the input and output of the kernel. 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... | |
Depth conversion kernel.
Definition at line 37 of file NEDepthConvertLayerKernel.h.
Default constructor.
Referenced by NEDepthConvertLayerKernel::name().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Default move constructor.
void configure | ( | ITensor * | input, |
ITensor * | output, | ||
ConvertPolicy | policy, | ||
uint32_t | shift = 0 |
||
) |
Set the input and output of the kernel.
Valid conversions Input -> Output :
[in,out] | input | The input tensor to convert (Written in case of in-place computation). Data types supported: U8/QS8/U16/S16/F32. |
[out] | output | The output tensor. Can be null in case of in-place computation. Data types supported: U8/QS8/U16/S16/U32/S32/F32. |
[in] | policy | Conversion policy. |
[in] | shift | (Optional) Value for down/up conversions. Must be 0 <= shift < 8. In case of fixed point position conversion, it specifies the new fixed point position, if operation is in-place. |
Referenced by NEDepthConvertLayerKernel::name().
|
inlineoverridevirtual |
Name of the kernel.
Implements ICPPKernel.
Definition at line 40 of file NEDepthConvertLayerKernel.h.
References NEDepthConvertLayerKernel::configure(), arm_compute::test::validation::info(), NEDepthConvertLayerKernel::NEDepthConvertLayerKernel(), NEDepthConvertLayerKernel::operator=(), NEDepthConvertLayerKernel::run(), and IKernel::window().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
Referenced by NEDepthConvertLayerKernel::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 NEDepthConvertLayerKernel::name().