|
ONE - On-device Neural Engine
|
#include <Pool2DLayer.h>

Public Member Functions | |
| PoolLayer () | |
| void | configure (const IPortableTensor *input, const uint32_t paddingLeft, const uint32_t paddingRight, const uint32_t paddingTop, const uint32_t paddingBottom, const uint32_t strideWidth, const uint32_t strideHeight, const uint32_t kernelWidth, const uint32_t kernelHeight, const ir::Activation activation, IPortableTensor *output, const PoolType op_type) |
| void | run () override |
Public Member Functions inherited from onert::exec::IFunction | |
| virtual | ~IFunction ()=default |
| virtual void | prepare () |
Protected Attributes | |
| const IPortableTensor * | _input |
| IPortableTensor * | _output |
Definition at line 35 of file Pool2DLayer.h.
| onert::backend::cpu::ops::PoolLayer::PoolLayer | ( | ) |
Definition at line 113 of file Pool2DLayer.cc.
| void onert::backend::cpu::ops::PoolLayer::configure | ( | const IPortableTensor * | input, |
| const uint32_t | paddingLeft, | ||
| const uint32_t | paddingRight, | ||
| const uint32_t | paddingTop, | ||
| const uint32_t | paddingBottom, | ||
| const uint32_t | strideWidth, | ||
| const uint32_t | strideHeight, | ||
| const uint32_t | kernelWidth, | ||
| const uint32_t | kernelHeight, | ||
| const ir::Activation | activation, | ||
| IPortableTensor * | output, | ||
| const PoolType | op_type | ||
| ) |
Definition at line 131 of file Pool2DLayer.cc.
References _input, _output, onert::backend::cpu::ops::CalculateActivationRangeQuantized(), onert::backend::IPortableTensor::data_type(), and POOLING_PARAMETERS.
|
overridevirtual |
Implements onert::exec::IFunction.
Definition at line 185 of file Pool2DLayer.cc.
References _input, and _output.
Referenced by onert::backend::train::ops::PoolLayer::forward().
|
protected |
Definition at line 51 of file Pool2DLayer.h.
Referenced by configure(), onert::backend::train::ops::PoolLayer::forward(), and run().
|
protected |
Definition at line 52 of file Pool2DLayer.h.
Referenced by configure(), onert::backend::train::ops::PoolLayer::forward(), and run().