ONE - On-device Neural Engine
|
Namespaces | |
namespace | checkpoint |
namespace | operation |
Data Structures | |
struct | CategoricalCrossentropyParam |
class | ITrainableOperation |
struct | LossInfo |
struct | OptimizerInfo |
class | TrainableGraph |
class | TrainableOperation |
struct | TrainableOperationVisitor |
class | TrainingIndex |
Class that provides index of tensor for training. More... | |
class | TrainingInfo |
class | UseDefChain |
class | UseDefGenerator |
struct | UseDefGeneratorBase |
Typedefs | |
using | TrainingOperationIndex = TrainingIndex< OperationIndex > |
Type that provides index of operation node for training. | |
using | TrainingOperandIndex = TrainingIndex< OperandIndex > |
Type that provides index of operand for training. | |
using | UseDefChains = std::unordered_map< TrainingOperandIndex, UseDefChain > |
Enumerations | |
enum class | LossCode { Undefined , MeanSquaredError , CategoricalCrossentropy } |
enum class | LossReductionType { Undefined , SumOverBatchSize , Sum } |
enum class | OptimizerCode { Undefined , SGD , Adam } |
Functions | |
std::ostream & | operator<< (std::ostream &o, const TrainingOperationIndex &i) |
std::ostream & | operator<< (std::ostream &o, const TrainingOperandIndex &i) |
std::string | toString (LossCode opcode) |
Convert the optimizer code to the name. | |
std::string | toString (OptimizerCode opcode) |
Convert the optimizer code to the name. | |
using onert::ir::train::TrainingOperandIndex = typedef TrainingIndex<OperandIndex> |
Type that provides index of operand for training.
using onert::ir::train::TrainingOperationIndex = typedef TrainingIndex<OperationIndex> |
Type that provides index of operation node for training.
using onert::ir::train::UseDefChains = typedef std::unordered_map<TrainingOperandIndex, UseDefChain> |
Definition at line 32 of file UseDefChains.h.
|
strong |
Enumerator | |
---|---|
Undefined | |
MeanSquaredError | |
CategoricalCrossentropy |
Definition at line 29 of file LossCode.h.
|
strong |
Enumerator | |
---|---|
Undefined | |
SumOverBatchSize | |
Sum |
Definition at line 29 of file LossInfo.h.
|
strong |
Enumerator | |
---|---|
Undefined | |
SGD | |
Adam |
Definition at line 31 of file OptimizerCode.h.
|
inline |
Definition at line 139 of file Index.h.
References onert::ir::train::TrainingIndex< T >::index(), and operator<<().
|
inline |
Definition at line 134 of file Index.h.
References onert::ir::train::TrainingIndex< T >::index(), and operator<<().
Referenced by operator<<(), and operator<<().
std::string onert::ir::train::toString | ( | LossCode | opcode | ) |
Convert the optimizer code to the name.
opcode | The optimizer code |
Definition at line 28 of file LossCode.cc.
References CategoricalCrossentropy, MeanSquaredError, and Undefined.
Referenced by onert::backend::train::createOptimizer(), and onert::ir::train::operation::Loss::name().
std::string onert::ir::train::toString | ( | OptimizerCode | opcode | ) |
Convert the optimizer code to the name.
opcode | The optimizer code |
Definition at line 28 of file OptimizerCode.cc.