ARM Compute Library
17.04
|
Basic function to run NEDepthConvertKernel. More...
#include <NEDepthConvert.h>
Public Member Functions | |
NEDepthConvert ()=default | |
NEDepthConvert (const NEDepthConvert &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
const NEDepthConvert & | operator= (const NEDepthConvert &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
void | configure (const ITensor *input, ITensor *output, ConvertPolicy policy, uint32_t shift) |
Initialize the function's source, destination. More... | |
Public Member Functions inherited from INESimpleFunction | |
INESimpleFunction () | |
Constructor. More... | |
void | run () overridefinal |
Run the kernels contained in the function. More... | |
Public Member Functions inherited from IFunction | |
virtual | ~IFunction ()=default |
Destructor. More... | |
Basic function to run NEDepthConvertKernel.
Definition at line 37 of file NEDepthConvert.h.
|
default |
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
void configure | ( | const ITensor * | input, |
ITensor * | output, | ||
ConvertPolicy | policy, | ||
uint32_t | shift | ||
) |
Initialize the function's source, destination.
Input format must be different than output format.
Valid conversions Input -> Output : U8 -> U16, S16, U32, S32 U16 -> U8, U32, S32 S16 -> U8, U32, S32 U32 -> U8, U16, S16 S32 -> U8, U16, S16
[in] | input | The input tensor to convert. Data type supported: U8, U16, S16, U32 or S32. |
[out] | output | The output tensor. Data type supported: U8, U16, S16, U32 or S32. |
[in] | policy | Conversion policy. |
[in] | shift | Value for down/up conversions. Must be 0 <= shift < 8. |
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)