24.02.1
|
Basic function to run CLDepthToSpaceLayerKernel. More...
#include <CLDepthToSpaceLayer.h>
Public Member Functions | |
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... | |
Public Member Functions inherited from ICLSimpleFunction | |
ICLSimpleFunction (CLRuntimeContext *ctx=nullptr) | |
Constructor. More... | |
ICLSimpleFunction (const ICLSimpleFunction &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICLSimpleFunction (ICLSimpleFunction &&)=default | |
Default move constructor. More... | |
ICLSimpleFunction & | operator= (const ICLSimpleFunction &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICLSimpleFunction & | operator= (ICLSimpleFunction &&)=default |
Default move assignment operator. More... | |
~ICLSimpleFunction () | |
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, int32_t block_shape) |
Static function to check if given info will lead to a valid configuration of CLDepthToSpaceLayer. More... | |
Basic function to run CLDepthToSpaceLayerKernel.
Definition at line 37 of file CLDepthToSpaceLayer.h.
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 38 of file CLDepthToSpaceLayer.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 33 of file CLDepthToSpaceLayer.cpp.
References CLKernelLibrary::get(), and arm_compute::test::validation::input.
|
static |
Static function to check if given info will lead to a valid configuration of CLDepthToSpaceLayer.
[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 49 of file CLDepthToSpaceLayer.cpp.
References arm_compute::test::validation::input, and CLDepthToSpaceLayerKernel::validate().