21.02
|
Function to perform MaxUnpooling. More...
#include <NEMaxUnpoolingLayer.h>
Public Member Functions | |
NEMaxUnpoolingLayer () | |
Constructor. More... | |
NEMaxUnpoolingLayer (const NEMaxUnpoolingLayer &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEMaxUnpoolingLayer & | operator= (const NEMaxUnpoolingLayer &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEMaxUnpoolingLayer (NEMaxUnpoolingLayer &&)=delete | |
Prevent instances of this class from being moved (As this class contains non movable objects) More... | |
NEMaxUnpoolingLayer & | operator= (NEMaxUnpoolingLayer &&)=delete |
Prevent instances of this class from being moved (As this class contains non movable objects) More... | |
~NEMaxUnpoolingLayer () | |
Default destructor. More... | |
void | configure (ITensor *input, ITensor *indices, ITensor *output, const PoolingLayerInfo &pool_info) |
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 *indices, const ITensorInfo *output, const PoolingLayerInfo &pool_info) |
Static function to check if given info will lead to a valid configuration of NEMaxUnpoolingLayer. More... | |
Function to perform MaxUnpooling.
This function calls the following Neon kernels:
Definition at line 43 of file NEMaxUnpoolingLayer.h.
Constructor.
Definition at line 36 of file NEMaxUnpoolingLayer.cpp.
|
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.
void configure | ( | ITensor * | input, |
ITensor * | indices, | ||
ITensor * | output, | ||
const PoolingLayerInfo & | pool_info | ||
) |
Set the input and output tensors.
[in,out] | input | Source tensor. (Written to only when padding != 0) Data types supported: QASYMM8/QASYMM8_SIGNED/F16/F32. |
[out] | output | Destination tensor. Data types supported: Same as input . |
[out] | indices | The indices of the maximal values. Data type supported: U32. |
[in] | pool_info | Contains pooling operation information described in PoolingLayerInfo. |
Definition at line 41 of file NEMaxUnpoolingLayer.cpp.
|
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 Neon kernels:
For OpenCL kernels:
Implements IFunction.
Definition at line 55 of file NEMaxUnpoolingLayer.cpp.
References Window::DimY, Scheduler::get(), and IScheduler::schedule().
|
static |
Static function to check if given info will lead to a valid configuration of NEMaxUnpoolingLayer.
[in] | input | Source tensor. (Written to only when padding != 0) Data types supported: QASYMM8/QASYMM8_SIGNED/F16/F32. |
[in] | indices | The indices of the maximal values. Data type supported: U32. |
[in] | output | Destination tensor. Data types supported: Same as input . |
[in] | pool_info | Contains pooling operation information described in PoolingLayerInfo. |
Definition at line 50 of file NEMaxUnpoolingLayer.cpp.
References NEMaxUnpoolingLayerKernel::validate().