ONE - On-device Neural Engine
|
#include <BackPropAccumulator.h>
Public Member Functions | |
BackPropAccumulator (const IPortableTensor *disposable_tensor, IPortableTensor *back_prop_tensor) | |
void | forward (bool training) override |
void | backward () override |
Public Member Functions inherited from onert::exec::train::ITrainableFunction | |
virtual | ~ITrainableFunction ()=default |
virtual std::optional< backend::train::LayerScopeTensors > | registerLayerScopeTensors () |
Definition at line 34 of file BackPropAccumulator.h.
onert::backend::train::ops::BackPropAccumulator::BackPropAccumulator | ( | const IPortableTensor * | disposable_tensor, |
IPortableTensor * | back_prop_tensor | ||
) |
Definition at line 33 of file BackPropAccumulator.cc.
References onert::util::CalculateActivationRange(), nnfw::cker::BinaryArithmeticOpParam::float_activation_max, nnfw::cker::BinaryArithmeticOpParam::float_activation_min, onert::backend::IPortableTensor::getShape(), and onert::ir::NONE.
|
overridevirtual |
Implements onert::exec::train::ITrainableFunction.
Definition at line 52 of file BackPropAccumulator.cc.
References onert::backend::train::ops::getShape().
|
overridevirtual |
Implements onert::exec::train::ITrainableFunction.
Definition at line 47 of file BackPropAccumulator.cc.