ARM Compute Library
17.04
|
Depth conversion kernel. More...
#include <NEDepthConvertKernel.h>
Public Member Functions | |
NEDepthConvertKernel () | |
Default constructor. More... | |
void | configure (const ITensor *input, ITensor *output, ConvertPolicy policy, uint32_t shift) |
Set the input and output of the kernel. More... | |
void | run (const Window &window) override |
Execute the kernel on the passed window. More... | |
Public Member Functions inherited from ICPPSimpleKernel | |
ICPPSimpleKernel () | |
Constructor. More... | |
ICPPSimpleKernel (const ICPPSimpleKernel &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICPPSimpleKernel & | operator= (const ICPPSimpleKernel &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICPPSimpleKernel (ICPPSimpleKernel &&)=default | |
Allow instances of this class to be moved. More... | |
ICPPSimpleKernel & | operator= (ICPPSimpleKernel &&)=default |
Allow instances of this class to be moved. More... | |
~ICPPSimpleKernel ()=default | |
Default destructor. 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 NEDepthConvertKernel.h.
Default constructor.
void configure | ( | const ITensor * | input, |
ITensor * | output, | ||
ConvertPolicy | policy, | ||
uint32_t | shift | ||
) |
Set the input and output of the kernel.
Valid conversions Input -> Output :
[in] | input | The input tensor to convert. Data types supported: U8, U16, S16, U32 or S32. |
[out] | output | The output tensor. Data types supported: U8, U16, S16, U32 or S32. |
[in] | policy | Conversion policy. |
[in] | shift | Value for down/up conversions. Must be 0 <= shift < 8. |
|
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()) |
Implements ICPPKernel.