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

#include <ITrainableFunction.h>

Public Member Functions

virtual ~ITrainableFunction ()=default
 
virtual void forward (bool training)=0
 
virtual void backward ()=0
 
virtual std::optional< backend::train::LayerScopeTensorsregisterLayerScopeTensors ()
 

Detailed Description

Definition at line 32 of file ITrainableFunction.h.

Constructor & Destructor Documentation

◆ ~ITrainableFunction()

virtual onert::exec::train::ITrainableFunction::~ITrainableFunction ( )
virtualdefault

Member Function Documentation

◆ backward()

◆ forward()

◆ registerLayerScopeTensors()

virtual std::optional< backend::train::LayerScopeTensors > onert::exec::train::ITrainableFunction::registerLayerScopeTensors ( )
inlinevirtual

Definition at line 40 of file ITrainableFunction.h.

41 {
42 return std::nullopt;
43 }

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