24.02.1
|
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 38 of file CLSpaceToDepthLayer.cpp.
|
delete |
Prevent instances of this class from being copied.
|
delete |
Prevent instances of this class to be moved.
|
default |
Default destructor.
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 49 of file CLSpaceToDepthLayer.cpp.
References ARM_COMPUTE_LOG_PARAMS, and arm_compute::test::validation::input.
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 CLSpaceToDepthLayer.cpp.
References CLKernelLibrary::get(), and arm_compute::test::validation::input.
|
delete |
Prevent instances of this class to be moved.
|
delete |
Prevent instances of this class from being copied.
|
overridevirtual |
Run the kernels contained in the function.
For CPU kernels:
For OpenCL kernels:
Implements IFunction.
Definition at line 63 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 58 of file CLSpaceToDepthLayer.cpp.
References arm_compute::test::validation::input, and CLSpaceToDepthLayerKernel::validate().