ONE - On-device Neural Engine
|
#include <ConstantLoweringPass.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. | |
LoweredOperationPass (ILoweredGraph &lowered_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 30 of file ConstantLoweringPass.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 31 of file ConstantLoweringPass.cc.
References onert::compiler::pass::Pass::_graph, onert::compiler::pass::LoweredOperationPass::_lowered_graph, onert::util::ObjectManager< Index, Object >::at(), onert::ir::DUPLICATED, onert::ir::IOperation::getInputs(), onert::compiler::ILoweredGraph::lower_info(), onert::compiler::GraphLowerInfo::operand, onert::ir::Graph::operands(), onert::compiler::GraphLowerInfo::operation, and onert::ir::UNDEFINED.
|
inlinefinalvirtual |
Returns string id for this pass. Same with class name.
Implements onert::compiler::pass::LoweredOperationPass.
Definition at line 36 of file ConstantLoweringPass.h.
|
inline |
Definition at line 33 of file LoweredOperationPass.h.