ONE - On-device Neural Engine
Loading...
Searching...
No Matches
onert::ir::train::ITrainableOperation Class Referenceabstract

#include <ITrainableOperation.h>

Collaboration diagram for onert::ir::train::ITrainableOperation:

Public Member Functions

virtual ~ITrainableOperation ()=default
 
virtual std::unique_ptr< ITrainableOperationclone () 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 OperandIndexSequencegetInputs () const =0
 
virtual const OperandIndexSequencegetOutputs () const =0
 

Detailed Description

Definition at line 33 of file ITrainableOperation.h.

Constructor & Destructor Documentation

◆ ~ITrainableOperation()

virtual onert::ir::train::ITrainableOperation::~ITrainableOperation ( )
virtualdefault

Member Function Documentation

◆ accept() [1/2]

◆ accept() [2/2]

◆ clone()

◆ disableBackward()

virtual void onert::ir::train::ITrainableOperation::disableBackward ( )
pure virtual

◆ disableWeightsUpdate()

virtual void onert::ir::train::ITrainableOperation::disableWeightsUpdate ( )
pure virtual

◆ enableBackward()

virtual void onert::ir::train::ITrainableOperation::enableBackward ( )
pure virtual

◆ enableWeightsUpdate()

virtual void onert::ir::train::ITrainableOperation::enableWeightsUpdate ( )
pure virtual

◆ hasTrainableParameter()

◆ isRequiredForBackward()

virtual bool onert::ir::train::ITrainableOperation::isRequiredForBackward ( ) const
pure virtual

◆ isWeightsUpdateEnabled()

virtual bool onert::ir::train::ITrainableOperation::isWeightsUpdateEnabled ( ) const
pure virtual

The documentation for this class was generated from the following file: