ONE - On-device Neural Engine
|
#include <ITrainableFunction.h>
Public Member Functions | |
virtual | ~ITrainableFunction ()=default |
virtual void | forward (bool training)=0 |
virtual void | backward ()=0 |
virtual std::optional< backend::train::LayerScopeTensors > | registerLayerScopeTensors () |
Definition at line 32 of file ITrainableFunction.h.
|
virtualdefault |
|
pure virtual |
Implemented in onert::backend::train::ops::BackPropAccumulator, onert::backend::train::ops::BackPropInitializer, onert::backend::train::ops::BinaryArithmeticLayer, onert::backend::train::ops::ConvolutionLayer, onert::backend::train::ops::DepthwiseConvolutionLayer, onert::backend::train::ops::ElementwiseActivationLayer, onert::backend::train::ops::FullyConnectedLayer, onert::backend::train::ops::LossCategoricalCrossentropyLayer, onert::backend::train::ops::LossMeanSquaredErrorLayer, onert::backend::train::ops::MeanLayer, onert::backend::train::ops::PadLayer, onert::backend::train::ops::PoolLayer, onert::backend::train::ops::ReshapeLayer, onert::backend::train::ops::SoftMaxLayer, and onert::backend::builtin::train::kernel::PermuteLayer.
|
pure virtual |
Implemented in onert::backend::train::ops::BackPropAccumulator, onert::backend::train::ops::BackPropInitializer, onert::backend::train::ops::BinaryArithmeticLayer, onert::backend::train::ops::ConvolutionLayer, onert::backend::train::ops::DepthwiseConvolutionLayer, onert::backend::train::ops::ElementwiseActivationLayer, onert::backend::train::ops::FullyConnectedLayer, onert::backend::train::ops::LossCategoricalCrossentropyLayer, onert::backend::train::ops::LossMeanSquaredErrorLayer, onert::backend::train::ops::MeanLayer, onert::backend::train::ops::PadLayer, onert::backend::train::ops::PoolLayer, onert::backend::train::ops::ReshapeLayer, onert::backend::train::ops::SoftMaxLayer, and onert::backend::builtin::train::kernel::PermuteLayer.
|
inlinevirtual |
Definition at line 40 of file ITrainableFunction.h.