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

Public Member Functions | |
| PowLayer () | |
| void | powFloat32 () |
| void | configure (const IPortableTensor *lhs, const IPortableTensor *rhs, const ir::Activation activation, IPortableTensor *output) |
| void | run () override |
Public Member Functions inherited from onert::exec::IFunction | |
| virtual | ~IFunction ()=default |
| virtual void | prepare () |
Definition at line 28 of file PowLayer.h.
|
inline |
Definition at line 31 of file PowLayer.h.
| void onert::backend::cpu::ops::PowLayer::configure | ( | const IPortableTensor * | lhs, |
| const IPortableTensor * | rhs, | ||
| const ir::Activation | activation, | ||
| IPortableTensor * | output | ||
| ) |
Definition at line 72 of file PowLayer.cc.
| void onert::backend::cpu::ops::PowLayer::powFloat32 | ( | ) |
Definition at line 52 of file PowLayer.cc.
References onert::util::CalculateActivationRange(), nnfw::cker::BinaryArithmeticOpParam::float_activation_max, nnfw::cker::BinaryArithmeticOpParam::float_activation_min, onert::backend::cpu::ops::getShape(), onert::backend::cpu::ops::HaveSameShapes(), and nnfw::cker::powImpl().
Referenced by run().
|
overridevirtual |
Implements onert::exec::IFunction.
Definition at line 81 of file PowLayer.cc.
References onert::backend::IPortableTensor::data_type(), and powFloat32().