ONE - On-device Neural Engine
|
Class that contains lowering information on graph. In addition, after lowering, operands in graph will be set to "dynamic" if the shape of output of an operation cannot be decided at compilation time. More...
#include <LoweredTrainableGraph.h>
Public Member Functions | |
LoweredTrainableGraph (ir::train::TrainableGraph &graph, const compiler::CompilerOptions &options) | |
ir::Graph & | graph () override |
const ir::Graph & | graph () const override |
ir::train::TrainableGraph & | trainable_graph () |
const ir::train::TrainableGraph & | trainable_graph () const |
const compiler::GraphLowerInfo & | lower_info () const override |
compiler::GraphLowerInfo & | lower_info () override |
std::shared_ptr< ir::OperationIndexMap< int64_t > > | indexed_ranks () |
void | setHasDynamicTensor (ir::OperationIndex, bool has_dynamic) override |
bool | getHasDynamicTensor (ir::OperationIndex) const override |
![]() | |
virtual | ~ILoweredGraph ()=default |
Class that contains lowering information on graph. In addition, after lowering, operands in graph will be set to "dynamic" if the shape of output of an operation cannot be decided at compilation time.
Definition at line 35 of file LoweredTrainableGraph.h.
onert::compiler::train::LoweredTrainableGraph::LoweredTrainableGraph | ( | ir::train::TrainableGraph & | graph, |
const compiler::CompilerOptions & | options | ||
) |
Definition at line 42 of file LoweredTrainableGraph.cc.
|
inlineoverridevirtual |
Implements onert::compiler::ILoweredGraph.
Definition at line 54 of file LoweredTrainableGraph.h.
|
inlineoverridevirtual |
Implements onert::compiler::ILoweredGraph.
Definition at line 42 of file LoweredTrainableGraph.h.
References onert::ir::train::TrainableGraph::graph().
Referenced by TopologicalSortHelper.TopologicalSortHelper::add_edge(), and TopologicalSortHelper.TopologicalSortHelper::sort_util().
|
inlineoverridevirtual |
Implements onert::compiler::ILoweredGraph.
Definition at line 41 of file LoweredTrainableGraph.h.
References onert::ir::train::TrainableGraph::graph().
Referenced by TopologicalSortHelper.TopologicalSortHelper::add_edge(), onert::dumper::text::dumpLoweredGraph(), onert::compiler::train::StaticBackwardShapeInferer::infer(), and TopologicalSortHelper.TopologicalSortHelper::sort_util().
|
inline |
Definition at line 47 of file LoweredTrainableGraph.h.
|
inlineoverridevirtual |
Implements onert::compiler::ILoweredGraph.
Definition at line 45 of file LoweredTrainableGraph.h.
|
inlineoverridevirtual |
Implements onert::compiler::ILoweredGraph.
Definition at line 46 of file LoweredTrainableGraph.h.
|
inlineoverridevirtual |
Implements onert::compiler::ILoweredGraph.
Definition at line 49 of file LoweredTrainableGraph.h.
|
inline |
Definition at line 43 of file LoweredTrainableGraph.h.
Referenced by onert::compiler::train::StaticBackwardShapeInferer::infer().
|
inline |
Definition at line 44 of file LoweredTrainableGraph.h.