24.02.1
|
Basic function to run NEDepthToSpaceLayerKernel. More...
#include <NEDepthToSpaceLayer.h>
Public Member Functions | |
NEDepthToSpaceLayer () | |
Constructor. More... | |
NEDepthToSpaceLayer (const NEDepthToSpaceLayer &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEDepthToSpaceLayer & | operator= (const NEDepthToSpaceLayer &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEDepthToSpaceLayer (NEDepthToSpaceLayer &&)=delete | |
Prevent instances of this class from being moved (As this class contains non movable objects) More... | |
NEDepthToSpaceLayer & | operator= (NEDepthToSpaceLayer &&)=delete |
Prevent instances of this class from being moved (As this class contains non movable objects) More... | |
~NEDepthToSpaceLayer () | |
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 NEDepthToSpaceLayer. More... | |
Basic function to run NEDepthToSpaceLayerKernel.
Definition at line 40 of file NEDepthToSpaceLayer.h.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
delete |
Prevent instances of this class from being moved (As this class contains non movable objects)
|
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 42 of file NEDepthToSpaceLayer.cpp.
References ARM_COMPUTE_LOG_PARAMS, and arm_compute::test::validation::input.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
delete |
Prevent instances of this class from being moved (As this class contains non movable objects)
|
overridevirtual |
Run the kernels contained in the function.
For CPU kernels:
For OpenCL kernels:
Implements IFunction.
Definition at line 56 of file NEDepthToSpaceLayer.cpp.
References Scheduler::get(), and IScheduler::schedule().
|
static |
Static function to check if given info will lead to a valid configuration of NEDepthToSpaceLayer.
[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 x value. |
Definition at line 51 of file NEDepthToSpaceLayer.cpp.
References arm_compute::test::validation::input, and NEDepthToSpaceLayerKernel::validate().