ONE - On-device Neural Engine
|
#include <LoweredOperationPass.h>
Public Member Functions | |
LoweredOperationPass (ILoweredGraph &lowered_graph) | |
virtual | ~LoweredOperationPass ()=default |
std::string | id () override=0 |
Returns string id for this pass. Same with class name. | |
void | callback (const ir::OperationIndex &i, ir::IOperation &o) override=0 |
Be called for all nodes of graph. | |
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 |
Protected Attributes | |
ILoweredGraph & | _lowered_graph |
Protected Attributes inherited from onert::compiler::pass::Pass | |
ir::Graph & | _graph |
Definition at line 30 of file LoweredOperationPass.h.
|
inline |
Definition at line 33 of file LoweredOperationPass.h.
|
virtualdefault |
|
overridepure virtual |
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::OperationPass.
Implemented in onert::compiler::pass::PermutationEliminationPass, onert::compiler::pass::ConstantInsertionPass, onert::compiler::pass::ConstantLoweringPass, and onert::compiler::train::pass::TrainableConstantInsertionPass.
|
overridepure virtual |
Returns string id for this pass. Same with class name.
Implements onert::compiler::pass::OperationPass.
Implemented in onert::compiler::pass::ConstantInsertionPass, onert::compiler::pass::ConstantLoweringPass, onert::compiler::pass::PermutationEliminationPass, and onert::compiler::train::pass::TrainableConstantInsertionPass.
|
protected |
Definition at line 45 of file LoweredOperationPass.h.
Referenced by onert::compiler::pass::ConstantInsertionPass::callback(), and onert::compiler::pass::ConstantLoweringPass::callback().