21.02
|
Basic function to run NEChannelShuffleLayerKernel. More...
#include <NEChannelShuffleLayer.h>
Public Member Functions | |
void | configure (const ITensor *input, ITensor *output, unsigned int num_groups) |
Initialize the function. 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, unsigned int num_groups) |
Static function to check if given info will lead to a valid configuration of NEChannelShuffleLayer. More... | |
Basic function to run NEChannelShuffleLayerKernel.
Definition at line 42 of file NEChannelShuffleLayer.h.
Initialize the function.
[in] | input | Input tensor. Data types supported: All |
[out] | output | Output tensor. Data type supported: Same as input |
[in] | num_groups | Number of groups. Must be greater than 1 and the number of channels of the tensors must be a multiple of the number of groups. |
Definition at line 31 of file NEChannelShuffleLayer.cpp.
|
static |
Static function to check if given info will lead to a valid configuration of NEChannelShuffleLayer.
[in] | input | Input tensor. Data types supported: All |
[out] | output | Output tensor. Data type supported: Same as input |
[in] | num_groups | Number of groups. Must be greater than 1 and the number of channels of the tensors must be a multiple of the number of groups. |
Definition at line 38 of file NEChannelShuffleLayer.cpp.
References NEChannelShuffleLayerKernel::validate().