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

Public Member Functions | |
| LogSoftMaxLayer () | |
| void | logsoftmaxFloat32 () |
| void | logsoftmaxQuant8 () |
| void | configure (const IPortableTensor *input, const float beta, const int axis, IPortableTensor *output) |
| void | run () |
| void | PopulateLookupTable (const float kBeta) |
Public Member Functions inherited from onert::exec::IFunction | |
| virtual | ~IFunction ()=default |
| virtual void | prepare () |
Definition at line 27 of file LogSoftmaxLayer.h.
| onert::backend::cpu::ops::LogSoftMaxLayer::LogSoftMaxLayer | ( | ) |
Definition at line 53 of file LogSoftmaxLayer.cc.
| void onert::backend::cpu::ops::LogSoftMaxLayer::configure | ( | const IPortableTensor * | input, |
| const float | beta, | ||
| const int | axis, | ||
| IPortableTensor * | output | ||
| ) |
Definition at line 90 of file LogSoftmaxLayer.cc.
References onert::backend::IPortableTensor::data_type(), and PopulateLookupTable().
| void onert::backend::cpu::ops::LogSoftMaxLayer::logsoftmaxFloat32 | ( | ) |
Definition at line 68 of file LogSoftmaxLayer.cc.
References nnfw::cker::SoftmaxParams::axis, nnfw::cker::SoftmaxParams::beta, onert::backend::cpu::ops::getShape(), and nnfw::cker::LogSoftmax().
Referenced by run().
| void onert::backend::cpu::ops::LogSoftMaxLayer::logsoftmaxQuant8 | ( | ) |
Definition at line 77 of file LogSoftmaxLayer.cc.
References nnfw::cker::SoftmaxParams::axis, nnfw::cker::SoftmaxParams::beta, onert::backend::IPortableTensor::data_scale(), onert::backend::IPortableTensor::data_zero_point(), onert::backend::cpu::ops::getShape(), nnfw::cker::LogSoftmax(), nnfw::cker::SoftmaxParams::scale, nnfw::cker::SoftmaxParams::table, and nnfw::cker::SoftmaxParams::zero_point.
Referenced by run().
| void onert::backend::cpu::ops::LogSoftMaxLayer::PopulateLookupTable | ( | const float | kBeta | ) |
Definition at line 58 of file LogSoftmaxLayer.cc.
References onert::backend::IPortableTensor::data_scale().
Referenced by configure().
|
virtual |
Implements onert::exec::IFunction.
Definition at line 103 of file LogSoftmaxLayer.cc.
References onert::backend::IPortableTensor::data_type(), logsoftmaxFloat32(), and logsoftmaxQuant8().