24.02.1
|
Basic function to simulate a pooling 3d layer with the specified pooling operation. More...
#include <NEPooling3dLayer.h>
Public Member Functions | |
NEPooling3dLayer (std::shared_ptr< IMemoryManager > memory_manager=nullptr) | |
Constructor. More... | |
NEPooling3dLayer (const NEPooling3dLayer &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEPooling3dLayer & | operator= (const NEPooling3dLayer &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEPooling3dLayer (NEPooling3dLayer &&)=delete | |
Prevent instances of this class from being moved (As this class contains non movable objects) More... | |
NEPooling3dLayer & | operator= (NEPooling3dLayer &&)=delete |
Prevent instances of this class from being moved (As this class contains non movable objects) More... | |
~NEPooling3dLayer () | |
Default destructor. More... | |
void | configure (const ITensor *input, ITensor *output, const Pooling3dLayerInfo &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 *output, const Pooling3dLayerInfo &pool_info) |
Static function to check if given info will lead to a valid configuration of NEPooling3dLayer. More... | |
Basic function to simulate a pooling 3d layer with the specified pooling operation.
This function calls the following kernels:
Definition at line 42 of file NEPooling3dLayer.h.
NEPooling3dLayer | ( | std::shared_ptr< IMemoryManager > | memory_manager = nullptr | ) |
Constructor.
Definition at line 47 of file NEPooling3dLayer.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 | ( | const ITensor * | input, |
ITensor * | output, | ||
const Pooling3dLayerInfo & | pool_info | ||
) |
Set the input and output tensors.
Valid data layouts:
Valid data type configurations:
src | dst |
---|---|
F16 | F16 |
F32 | F32 |
QASYMM8 | QASYMM8 |
QASYMM8_SIGNED | QASYMM8_SIGNED |
[in] | input | Source tensor. Data types supported: F16/F32/QASYMM8/QASYMM8_SIGNED. |
[out] | output | Destination tensor. |
[in] | pool_info | Contains pooling operation information described in Pooling3dLayerInfo. |
Definition at line 52 of file NEPooling3dLayer.cpp.
References arm_compute::ACL_DST_0, arm_compute::ACL_SRC, ITensor::info(), 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 69 of file NEPooling3dLayer.cpp.
References ARM_COMPUTE_ERROR_ON_NULLPTR.
|
static |
Static function to check if given info will lead to a valid configuration of NEPooling3dLayer.
[in] | input | Source tensor info. Data types supported: F16/F32/QASYMM8/QASYMM8_SIGNED. |
[in] | output | Destination tensor info. |
[in] | pool_info | Contains pooling operation information described in Pooling3dLayerInfo. |
Definition at line 64 of file NEPooling3dLayer.cpp.
References arm_compute::test::validation::input, and CpuPool3d::validate().