ONE - On-device Neural Engine
|
#include <LossInsertionPass.h>
Public Member Functions | |
LossInsertionPass (ir::train::TrainableGraph &trainable_graph, const ir::train::TrainingInfo *training_info, const ir::SubgraphIndex &subg_index) | |
std::string | id () final |
void | run () final |
Public Member Functions inherited from onert::compiler::train::pass::Pass | |
Pass (ir::train::TrainableGraph &trainable_graph, const ir::train::TrainingInfo *training_info) | |
virtual | ~Pass ()=default |
Public Member Functions inherited from onert::compiler::pass::IPass | |
virtual | ~IPass ()=default |
Additional Inherited Members | |
Protected Attributes inherited from onert::compiler::train::pass::Pass | |
ir::train::TrainableGraph & | _trainable_graph |
const ir::train::TrainingInfo * | _training_info |
Definition at line 33 of file LossInsertionPass.h.
|
inline |
Definition at line 36 of file LossInsertionPass.h.
|
inlinefinalvirtual |
Implements onert::compiler::pass::IPass.
Definition at line 44 of file LossInsertionPass.h.
|
finalvirtual |
Implements onert::compiler::pass::IPass.
Definition at line 32 of file LossInsertionPass.cc.
References onert::compiler::train::pass::Pass::_trainable_graph, onert::compiler::train::pass::Pass::_training_info, onert::ir::train::TrainableGraph::addInput(), onert::ir::train::TrainableGraph::addLoss(), onert::ir::train::TrainableGraph::addOperand(), onert::ir::train::TrainableGraph::addOperation(), onert::util::ObjectManager< Index, Object >::at(), onert::ir::OperandIndexSequence::at(), onert::ir::train::TrainableGraph::getOutputs(), onert::ir::train::TrainingInfo::lossInfo(), onert::ir::train::TrainableGraph::operands(), onert::ir::train::TrainableGraph::operations(), output_shape, onert::ir::OperandIndexSequence::size(), onert::ir::train::Sum, and onert::ir::train::SumOverBatchSize.
Referenced by package.infer.session::inference().