Dragon - C++ API
A Computation Graph Virtual Machine Based Deep Learning Framework
Public Member Functions | List of all members
dragon::NoGradient Class Reference

#include <operator_gradient.h>

Inheritance diagram for dragon::NoGradient:
dragon::GradientMakerBase

Public Member Functions

 GRADIENT_MAKER_CTOR (NoGradient)
 
vector< OperatorDef > MakeDef () override
 
- Public Member Functions inherited from dragon::GradientMakerBase
 GradientMakerBase (const OperatorDef &def, const vector< string > &g_outputs)
 
virtual ~GradientMakerBase ()
 
virtual bool CopyDeviceOption () const
 
virtual bool CopyEngine () const
 
virtual bool CopyArguments () const
 
virtual Gradient Make ()
 
virtual vector< float > defaults ()
 
const string I (const int i) const
 
const string O (const int i) const
 
string GI (const int i)
 
const string GO (const int i) const
 

Additional Inherited Members

- Static Public Member Functions inherited from dragon::GradientMakerBase
template<class... Args>
static vector< OperatorDef > SingleDef (const Args &... args)
 
- Protected Attributes inherited from dragon::GradientMakerBase
const OperatorDef & def
 
vector< string > g_inputs_
 
const vector< string > & g_outputs_
 

Member Function Documentation

◆ GRADIENT_MAKER_CTOR()

dragon::NoGradient::GRADIENT_MAKER_CTOR ( NoGradient  )

◆ MakeDef()

vector<OperatorDef> dragon::NoGradient::MakeDef ( )
inlineoverridevirtual

Reimplemented from dragon::GradientMakerBase.


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