24.02.1
|
Basic function to run cpu::kernels::CpuTransposeKernel. More...
#include <NETranspose.h>
Public Member Functions | |
NETranspose () | |
Default Constructor. More... | |
~NETranspose () | |
Default Destructor. More... | |
NETranspose (const NETranspose &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NETranspose (NETranspose &&)=default | |
Default move constructor. More... | |
NETranspose & | operator= (const NETranspose &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NETranspose & | operator= (NETranspose &&)=default |
Default move assignment operator. More... | |
void | configure (const ITensor *input, ITensor *output) |
Initialise the kernel's inputs and output. More... | |
void | run () override |
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) |
Static function to check if given info will lead to a valid configuration of NETranspose. More... | |
Basic function to run cpu::kernels::CpuTransposeKernel.
Definition at line 39 of file NETranspose.h.
NETranspose | ( | ) |
Default Constructor.
Definition at line 40 of file NETranspose.cpp.
|
default |
Default Destructor.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Default move constructor.
Initialise the kernel's inputs and output.
Valid data layouts:
Valid data type configurations:
src | dst |
---|---|
All | All |
[in] | input | Input tensor. Data types supported: All |
[out] | output | Output tensor. Data type supported: Same as input |
Definition at line 46 of file NETranspose.cpp.
References ARM_COMPUTE_ERROR_ON_NULLPTR, ARM_COMPUTE_LOG_PARAMS, ITensor::info(), and arm_compute::test::validation::input.
Referenced by NEFullyConnectedLayerReshapeWeightsManaged::configure(), NELSTMLayerQuantized::configure(), NELSTMLayer::configure(), and NEQLSTMLayer::configure().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Default move assignment operator.
|
overridevirtual |
Run the kernels contained in the function.
For CPU kernels:
For OpenCL kernels:
Implements IFunction.
Definition at line 64 of file NETranspose.cpp.
References arm_compute::ACL_DST, arm_compute::ACL_SRC, ITensorPack::add_tensor(), and arm_compute::test::validation::pack.
Referenced by NELSTMLayerQuantized::prepare(), NEQLSTMLayer::prepare(), NEFullyConnectedLayerReshapeWeightsManaged::run(), and NELSTMLayer::run().
|
static |
Static function to check if given info will lead to a valid configuration of NETranspose.
[in] | input | The input tensor. Data types supported: All |
[in] | output | The output tensor. Data types supported: Same as input |
Definition at line 57 of file NETranspose.cpp.
References ARM_COMPUTE_RETURN_ERROR_ON_NULLPTR, ARM_COMPUTE_RETURN_ON_ERROR, arm_compute::test::validation::input, and CpuTranspose::validate().
Referenced by NELSTMLayerQuantized::validate(), and NEQLSTMLayer::validate().