21.02
|
Basic function to run NEReorgLayerKernel. More...
#include <NEReorgLayer.h>
Public Member Functions | |
void | configure (const ITensor *input, ITensor *output, int32_t stride) |
Initialise the kernel's inputs and outputs. More... | |
Public Member Functions inherited from INESimpleFunctionNoBorder | |
INESimpleFunctionNoBorder (IRuntimeContext *ctx=nullptr) | |
Constructor. More... | |
INESimpleFunctionNoBorder (const INESimpleFunctionNoBorder &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
INESimpleFunctionNoBorder (INESimpleFunctionNoBorder &&)=default | |
Default move constructor. More... | |
INESimpleFunctionNoBorder & | operator= (const INESimpleFunctionNoBorder &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
INESimpleFunctionNoBorder & | operator= (INESimpleFunctionNoBorder &&)=default |
Default move assignment operator. More... | |
~INESimpleFunctionNoBorder () | |
Default destructor. More... | |
void | run () override final |
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, int32_t stride) |
Static function to check if given info will lead to a valid configuration of NEReorgLayer. More... | |
Basic function to run NEReorgLayerKernel.
Definition at line 37 of file NEReorgLayer.h.
Initialise the kernel's inputs and outputs.
[in] | input | First tensor input. Data type supported: All |
[out] | output | Output tensor. Data type supported: Same as input |
[in] | stride | Stride to be used during data re-organization It defines the spatial distance between 2 consecutive pixels in the x and y direction |
Definition at line 30 of file NEReorgLayer.cpp.
|
static |
Static function to check if given info will lead to a valid configuration of NEReorgLayer.
[in] | input | First tensor info. Data type supported: All |
[in] | output | Output tensor info. Data type supported: Same as input |
[in] | stride | Stride to be used during data re-organization It defines the spatial distance between 2 consecutive pixels in the x and y direction |
Definition at line 37 of file NEReorgLayer.cpp.
References NEReorgLayerKernel::validate().