24.02.1
|
Basic function to run NESpaceToDepthLayerKernel. More...
#include <NESpaceToDepthLayer.h>
Public Member Functions | |
NESpaceToDepthLayer () | |
Default constructor. More... | |
NESpaceToDepthLayer (const NESpaceToDepthLayer &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NESpaceToDepthLayer & | operator= (const NESpaceToDepthLayer &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NESpaceToDepthLayer (NESpaceToDepthLayer &&)=default | |
Allow instances of this class to be moved. More... | |
NESpaceToDepthLayer & | operator= (NESpaceToDepthLayer &&)=default |
Allow instances of this class to be moved. More... | |
~NESpaceToDepthLayer () | |
Default destructor. More... | |
void | configure (const ITensor *input, ITensor *output, int32_t block_shape) |
Set the input and output tensors. 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, int32_t block_shape) |
Static function to check if given info will lead to a valid configuration of NESpaceToDepthLayer (Static block shape and paddings) More... | |
Basic function to run NESpaceToDepthLayerKernel.
Definition at line 39 of file NESpaceToDepthLayer.h.
Default constructor.
Definition at line 40 of file NESpaceToDepthLayer.cpp.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Allow instances of this class to be moved.
|
default |
Default destructor.
Set the input and output tensors.
Valid data layouts:
Valid data type configurations:
src | dst |
---|---|
All | All |
[in] | input | Tensor input. Supported tensor rank: 4. Data types supported: All. |
[out] | output | Tensor output. Data types supported: same as input |
[in] | block_shape | Block shape value |
Definition at line 44 of file NESpaceToDepthLayer.cpp.
References ARM_COMPUTE_ERROR_ON_NULLPTR, ARM_COMPUTE_LOG_PARAMS, and arm_compute::test::validation::input.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Allow instances of this class to be moved.
|
overridevirtual |
Run the kernels contained in the function.
For CPU kernels:
For OpenCL kernels:
Implements IFunction.
Definition at line 59 of file NESpaceToDepthLayer.cpp.
References Window::DimY, Scheduler::get(), and IScheduler::schedule().
|
static |
Static function to check if given info will lead to a valid configuration of NESpaceToDepthLayer (Static block shape and paddings)
[in] | input | Tensor input info. Supported tensor rank: 4. Data types supported: All. |
[in] | output | Tensor output info. Data types supported: same as input |
[in] | block_shape | Block shape value |
Definition at line 53 of file NESpaceToDepthLayer.cpp.
References ARM_COMPUTE_RETURN_ON_ERROR, arm_compute::test::validation::input, and NESpaceToDepthLayerKernel::validate().