ONE - On-device Neural Engine
|
#include <TrainableOperation.h>
Public Member Functions | |
virtual | ~TrainableOperation ()=default |
void | disableWeightsUpdate () final |
void | enableWeightsUpdate () final |
virtual bool | isWeightsUpdateEnabled () const final |
void | enableBackward () final |
void | disableBackward () final |
virtual bool | isRequiredForBackward () const final |
Public Member Functions inherited from onert::ir::train::ITrainableOperation | |
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 |
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 29 of file TrainableOperation.h.
|
virtualdefault |
|
inlinefinalvirtual |
Implements onert::ir::train::ITrainableOperation.
Definition at line 42 of file TrainableOperation.h.
|
inlinefinalvirtual |
Implements onert::ir::train::ITrainableOperation.
Definition at line 35 of file TrainableOperation.h.
|
inlinefinalvirtual |
Implements onert::ir::train::ITrainableOperation.
Definition at line 41 of file TrainableOperation.h.
|
inlinefinalvirtual |
Implements onert::ir::train::ITrainableOperation.
Definition at line 37 of file TrainableOperation.h.
|
inlinefinalvirtual |
Implements onert::ir::train::ITrainableOperation.
Definition at line 43 of file TrainableOperation.h.
Referenced by onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), onert::backend::train::KernelGenerator::visit(), and onert::backend::train::KernelGenerator::visit().
|
inlinefinalvirtual |
Implements onert::ir::train::ITrainableOperation.
Definition at line 39 of file TrainableOperation.h.