|
ONE - On-device Neural Engine
|
#include <TrainableConstantInsertionPass.h>

Public Member Functions | |
| std::string | id () final |
| Returns string id for this pass. Same with class name. | |
| void | callback (const ir::OperationIndex &index, ir::IOperation &node) final |
| Be called for all nodes of graph. | |
Public Member Functions inherited from onert::compiler::pass::LoweredOperationPass | |
| LoweredOperationPass (ILoweredGraph &lowered_graph) | |
| virtual | ~LoweredOperationPass ()=default |
Public Member Functions inherited from onert::compiler::pass::OperationPass | |
| virtual | ~OperationPass ()=default |
| void | run () final |
| Run the pass. | |
| Pass (ir::Graph &graph) | |
Public Member Functions inherited from onert::compiler::pass::Pass | |
| Pass (ir::Graph &graph) | |
| virtual | ~Pass ()=default |
Public Member Functions inherited from onert::compiler::pass::IPass | |
| virtual | ~IPass ()=default |
Additional Inherited Members | |
Protected Attributes inherited from onert::compiler::pass::LoweredOperationPass | |
| ILoweredGraph & | _lowered_graph |
Protected Attributes inherited from onert::compiler::pass::Pass | |
| ir::Graph & | _graph |
Definition at line 27 of file TrainableConstantInsertionPass.h.
|
finalvirtual |
Be called for all nodes of graph.
| index | is the index of a node in graph |
| node | is the node in graph |
Implements onert::compiler::pass::LoweredOperationPass.
Definition at line 25 of file TrainableConstantInsertionPass.cc.
References onert::compiler::pass::Pass::_graph, onert::util::ObjectManager< Index, Object >::at(), onert::ir::IOperation::getUsedInputSet(), onert::ir::Graph::operands(), and size.
|
inlinefinalvirtual |
Returns string id for this pass. Same with class name.
Implements onert::compiler::pass::LoweredOperationPass.
Definition at line 33 of file TrainableConstantInsertionPass.h.