21.02
|
Basic function to run cpu::kernels::CpuReshapeKernel. More...
#include <NEReshapeLayer.h>
Public Member Functions | |
NEReshapeLayer () | |
Default Constructor. More... | |
~NEReshapeLayer () | |
Default Destructor. More... | |
NEReshapeLayer (const NEReshapeLayer &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEReshapeLayer (NEReshapeLayer &&) | |
Default move constructor. More... | |
NEReshapeLayer & | operator= (const NEReshapeLayer &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEReshapeLayer & | operator= (NEReshapeLayer &&) |
Default move assignment operator. More... | |
void | configure (const ITensor *input, ITensor *output) |
Initialise the kernel's inputs and outputs. 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) |
Static function to check if given info will lead to a valid configuration of NEReshapeLayer. More... | |
Basic function to run cpu::kernels::CpuReshapeKernel.
Definition at line 38 of file NEReshapeLayer.h.
NEReshapeLayer | ( | ) |
Default Constructor.
Definition at line 40 of file NEReshapeLayer.cpp.
References NEReshapeLayer::operator=(), and NEReshapeLayer::~NEReshapeLayer().
|
default |
Default Destructor.
Referenced by NEReshapeLayer::NEReshapeLayer().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Default move constructor.
Initialise the kernel's inputs and outputs.
[in] | input | Input tensor. Data type supported: All |
[out] | output | Output tensor. Data type supported: Same as input |
Definition at line 48 of file NEReshapeLayer.cpp.
References ARM_COMPUTE_ERROR_ON_NULLPTR, ITensor::info(), and arm_compute::test::validation::input.
Referenced by NEFlattenLayer::configure(), NEReduceMean::configure(), NEReductionOperation::configure(), NEGenerateProposalsLayer::configure(), and NEGEMMConvolutionLayer::configure().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
Referenced by NEReshapeLayer::NEReshapeLayer().
|
default |
Default move assignment operator.
|
overridevirtual |
Run the kernels contained in the function.
For Neon kernels:
For OpenCL kernels:
Implements IFunction.
Definition at line 66 of file NEReshapeLayer.cpp.
References arm_compute::ACL_DST, arm_compute::ACL_SRC, and ITensorPack::add_tensor().
Referenced by NEFlattenLayer::run(), NEReduceMean::run(), NEReductionOperation::run(), NEGenerateProposalsLayer::run(), and NEGEMMConvolutionLayer::run().
|
static |
Static function to check if given info will lead to a valid configuration of NEReshapeLayer.
[in] | input | Input tensor info. Data type supported: All |
[in] | output | Output tensor info. Data type supported: Same as input |
Definition at line 58 of file NEReshapeLayer.cpp.
References ARM_COMPUTE_RETURN_ERROR_ON_NULLPTR, ARM_COMPUTE_RETURN_ON_ERROR, and CpuReshape::validate().
Referenced by NEFlattenLayer::validate(), NEReductionOperation::validate(), and NEGenerateProposalsLayer::validate().