ONE - On-device Neural Engine
|
#include <PoolLayer.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 41 of file PoolLayer.h.
onert::backend::cpu::ops::PoolLayer::PoolLayer | ( | ) |
Definition at line 70 of file PoolLayer.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 88 of file PoolLayer.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 142 of file PoolLayer.cc.
References _input, and _output.
Referenced by onert::backend::train::ops::PoolLayer::forward(), and package.infer.session::inference().
|
protected |
Definition at line 57 of file PoolLayer.h.
Referenced by configure(), onert::backend::train::ops::PoolLayer::forward(), and run().
|
protected |
Definition at line 58 of file PoolLayer.h.
Referenced by configure(), onert::backend::train::ops::PoolLayer::forward(), and run().