21.02
|
Basic function to run CLSpaceToDepthLayerKernel. More...
#include <CLSpaceToDepthLayer.h>
Public Member Functions | |
CLSpaceToDepthLayer () | |
Default constructor. More... | |
CLSpaceToDepthLayer (const CLSpaceToDepthLayer &)=delete | |
Prevent instances of this class from being copied. More... | |
CLSpaceToDepthLayer & | operator= (const CLSpaceToDepthLayer &)=delete |
Prevent instances of this class from being copied. More... | |
CLSpaceToDepthLayer (CLSpaceToDepthLayer &&)=delete | |
Prevent instances of this class to be moved. More... | |
CLSpaceToDepthLayer & | operator= (CLSpaceToDepthLayer &&)=delete |
Prevent instances of this class to be moved. More... | |
~CLSpaceToDepthLayer () | |
Default destructor. More... | |
void | configure (const ICLTensor *input, ICLTensor *output, int32_t block_shape) |
Set the input and output tensors. More... | |
void | configure (const CLCompileContext &compile_context, const ICLTensor *input, ICLTensor *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 CLSpaceToDepthLayer. More... | |
Basic function to run CLSpaceToDepthLayerKernel.
Definition at line 40 of file CLSpaceToDepthLayer.h.
Default constructor.
Definition at line 36 of file CLSpaceToDepthLayer.cpp.
References CLSpaceToDepthLayer::~CLSpaceToDepthLayer().
|
delete |
Prevent instances of this class from being copied.
|
delete |
Prevent instances of this class to be moved.
|
default |
Default destructor.
Referenced by CLSpaceToDepthLayer::CLSpaceToDepthLayer().
Set the input and output tensors.
[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 43 of file CLSpaceToDepthLayer.cpp.
References CLKernelLibrary::get().
void configure | ( | const CLCompileContext & | compile_context, |
const ICLTensor * | input, | ||
ICLTensor * | output, | ||
int32_t | block_shape | ||
) |
Set the input and output tensors.
[in] | compile_context | The compile context to be used. |
[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 48 of file CLSpaceToDepthLayer.cpp.
|
delete |
Prevent instances of this class from being copied.
|
delete |
Prevent instances of this class to be moved.
|
overridevirtual |
Run the kernels contained in the function.
For Neon kernels:
For OpenCL kernels:
Implements IFunction.
Definition at line 58 of file CLSpaceToDepthLayer.cpp.
References CLScheduler::enqueue(), and CLScheduler::get().
|
static |
Static function to check if given info will lead to a valid configuration of CLSpaceToDepthLayer.
[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 CLSpaceToDepthLayer.cpp.
References CLSpaceToDepthLayerKernel::validate().
Referenced by arm_compute::test::validation::DATA_TEST_CASE().