ONE - On-device Neural Engine
|
#include <ITrainableOperation.h>
Public Member Functions | |
virtual | ~ITrainableOperation ()=default |
virtual std::unique_ptr< ITrainableOperation > | clone () const =0 |
virtual void | accept (OperationVisitor &v) const override=0 |
virtual void | accept (TrainableOperationVisitor &v) const =0 |
virtual bool | hasTrainableParameter () const =0 |
virtual void | disableWeightsUpdate ()=0 |
virtual void | enableWeightsUpdate ()=0 |
virtual bool | isWeightsUpdateEnabled () const =0 |
virtual void | enableBackward ()=0 |
virtual void | disableBackward ()=0 |
virtual bool | isRequiredForBackward () const =0 |
Public Member Functions inherited from onert::ir::IOperation | |
virtual | ~IOperation ()=default |
virtual std::string | name () const |
virtual OpCode | opcode () const =0 |
virtual void | replaceInputs (const OperandIndex &from, const OperandIndex &to)=0 |
virtual void | replaceOutputs (const OperandIndex &from, const OperandIndex &to)=0 |
virtual const OperandIndexSequence & | getInputs () const =0 |
virtual const OperandIndexSequence & | getOutputs () const =0 |
Definition at line 33 of file ITrainableOperation.h.
|
virtualdefault |
|
overridepure virtual |
Implements onert::ir::IOperation.
Implemented in onert::ir::train::operation::BinaryArithmetic, onert::ir::train::operation::Conv2D, onert::ir::train::operation::DepthwiseConv2D, onert::ir::train::operation::ElementwiseActivation, onert::ir::train::operation::FullyConnected, onert::ir::train::operation::Loss, onert::ir::train::operation::Pad, onert::ir::train::operation::Permute, onert::ir::train::operation::Pool2D, onert::ir::train::operation::Reduce, onert::ir::train::operation::Reshape, onert::ir::train::operation::Softmax, and onert::ir::train::operation::UntrainableOperation< OperationType, typename >.
Referenced by onert::backend::builtin::train::KernelGenerator::generate().
|
pure virtual |
Implemented in onert::ir::train::operation::UntrainableOperation< OperationType, typename >, onert::ir::train::operation::BinaryArithmetic, onert::ir::train::operation::Conv2D, onert::ir::train::operation::DepthwiseConv2D, onert::ir::train::operation::ElementwiseActivation, onert::ir::train::operation::FullyConnected, onert::ir::train::operation::Loss, onert::ir::train::operation::Pad, onert::ir::train::operation::Permute, onert::ir::train::operation::Pool2D, onert::ir::train::operation::Reduce, onert::ir::train::operation::Reshape, and onert::ir::train::operation::Softmax.
|
pure virtual |
Implemented in onert::ir::train::operation::BinaryArithmetic, onert::ir::train::operation::Conv2D, onert::ir::train::operation::DepthwiseConv2D, onert::ir::train::operation::ElementwiseActivation, onert::ir::train::operation::FullyConnected, onert::ir::train::operation::Loss, onert::ir::train::operation::Pad, onert::ir::train::operation::Permute, onert::ir::train::operation::Pool2D, onert::ir::train::operation::Reduce, onert::ir::train::operation::Reshape, onert::ir::train::operation::Softmax, and onert::ir::train::operation::UntrainableOperation< OperationType, typename >.
|
pure virtual |
Implemented in onert::ir::train::TrainableOperation.
Referenced by onert::ir::train::TrainableGraph::disableBackward().
|
pure virtual |
Implemented in onert::ir::train::TrainableOperation.
|
pure virtual |
Implemented in onert::ir::train::TrainableOperation.
|
pure virtual |
Implemented in onert::ir::train::TrainableOperation.
|
pure virtual |
Implemented in onert::ir::train::operation::BinaryArithmetic, onert::ir::train::operation::Conv2D, onert::ir::train::operation::DepthwiseConv2D, onert::ir::train::operation::ElementwiseActivation, onert::ir::train::operation::FullyConnected, onert::ir::train::operation::Loss, onert::ir::train::operation::Pad, onert::ir::train::operation::Permute, onert::ir::train::operation::Pool2D, onert::ir::train::operation::Reduce, onert::ir::train::operation::Reshape, onert::ir::train::operation::Softmax, and onert::ir::train::operation::UntrainableOperation< OperationType, typename >.
|
pure virtual |
Implemented in onert::ir::train::TrainableOperation.
Referenced by onert::ir::train::TrainableGraph::essentialBackwardOrder().
|
pure virtual |
Implemented in onert::ir::train::TrainableOperation.