ONE - On-device Neural Engine
|
Public Member Functions | |
__init__ (self, vertices) | |
add_edge (self, u, v) | |
sort_util (self, v, visited, stack) | |
sort (self) | |
Data Fields | |
graph | |
vertices | |
Definition at line 20 of file TopologicalSortHelper.py.
TopologicalSortHelper.TopologicalSortHelper.__init__ | ( | self, | |
vertices | |||
) |
Definition at line 21 of file TopologicalSortHelper.py.
TopologicalSortHelper.TopologicalSortHelper.add_edge | ( | self, | |
u, | |||
v | |||
) |
Definition at line 25 of file TopologicalSortHelper.py.
References tflimport::GraphBuilderContext.graph(), exo::test::TestGraph.graph(), GraphTestcase< GraphCode::Identity >.graph(), GraphTestcase< GraphCode::ConstGen >.graph(), GraphTestcase< GraphCode::Relu >.graph(), GraphTestcase< GraphCode::FeatureCodec >.graph(), GraphTestcase< GraphCode::AvgPool2D >.graph(), GraphTestcase< GraphCode::DepthwiseConv2D >.graph(), GraphTestcase< GraphCode::TransposedConv2D >.graph(), GraphTestcase< GraphCode::MaxPool2D >.graph(), GraphTestcase< GraphCode::TensorConcat >.graph(), GraphTestcase< GraphCode::FixedReshape >.graph(), GraphTestcase< GraphCode::TensorTranspose >.graph(), luci::GraphBuilderContext.graph(), luci::ConstantFoldingTestGraph.graph(), luci::test::TestGraph.graph(), moco::GraphBuilderContext.graph(), nnc::PassData.graph, TopologicalSortHelper.TopologicalSortHelper.graph, moco::onnx::GraphBuilderContext.graph(), onert::backend::ContextData.graph, onert::backend::BackendContext.graph(), onert::ir::train::TrainableGraph.graph(), onert::compiler::ILoweredGraph.graph(), onert::exec::IExecutor.graph(), onert::exec::ExecutorBase.graph(), onert::exec::train::TrainableExecutor.graph(), onert::compiler::LoweredGraph.graph(), onert::compiler::train::LoweredTrainableGraph.graph(), onert::compiler::LoweredGraph.graph(), onert::compiler::train::LoweredTrainableGraph.graph(), onert::compiler::ILoweredGraph.graph(), loco::Node.graph(), loco::NodePool.graph(), luci::Module.graph(), loco::Node.graph(), GraphBuilder::Context.graph(), GraphTestcase< GraphCode::TensorBroadcast >.graph(), exo::ProgressReporter.graph(), fme_apply::ProgressReporter.graph(), loco::Node.graph(), luci::ProgressReporter.graph(), luci::Module.graph(), and moco::tf::ProgressReporter.graph().
TopologicalSortHelper.TopologicalSortHelper.sort | ( | self | ) |
Definition at line 37 of file TopologicalSortHelper.py.
References TopologicalSortHelper.TopologicalSortHelper.sort_util(), and TopologicalSortHelper.TopologicalSortHelper.vertices.
TopologicalSortHelper.TopologicalSortHelper.sort_util | ( | self, | |
v, | |||
visited, | |||
stack | |||
) |
Definition at line 28 of file TopologicalSortHelper.py.
References tflimport::GraphBuilderContext.graph(), exo::test::TestGraph.graph(), GraphTestcase< GraphCode::Identity >.graph(), GraphTestcase< GraphCode::ConstGen >.graph(), GraphTestcase< GraphCode::Relu >.graph(), GraphTestcase< GraphCode::FeatureCodec >.graph(), GraphTestcase< GraphCode::AvgPool2D >.graph(), GraphTestcase< GraphCode::DepthwiseConv2D >.graph(), GraphTestcase< GraphCode::TransposedConv2D >.graph(), GraphTestcase< GraphCode::MaxPool2D >.graph(), GraphTestcase< GraphCode::TensorConcat >.graph(), GraphTestcase< GraphCode::FixedReshape >.graph(), GraphTestcase< GraphCode::TensorTranspose >.graph(), luci::GraphBuilderContext.graph(), luci::ConstantFoldingTestGraph.graph(), luci::test::TestGraph.graph(), moco::GraphBuilderContext.graph(), nnc::PassData.graph, TopologicalSortHelper.TopologicalSortHelper.graph, moco::onnx::GraphBuilderContext.graph(), onert::backend::ContextData.graph, onert::backend::BackendContext.graph(), onert::ir::train::TrainableGraph.graph(), onert::compiler::ILoweredGraph.graph(), onert::exec::IExecutor.graph(), onert::exec::ExecutorBase.graph(), onert::exec::train::TrainableExecutor.graph(), onert::compiler::LoweredGraph.graph(), onert::compiler::train::LoweredTrainableGraph.graph(), onert::compiler::LoweredGraph.graph(), onert::compiler::train::LoweredTrainableGraph.graph(), onert::compiler::ILoweredGraph.graph(), loco::Node.graph(), loco::NodePool.graph(), luci::Module.graph(), loco::Node.graph(), GraphBuilder::Context.graph(), GraphTestcase< GraphCode::TensorBroadcast >.graph(), exo::ProgressReporter.graph(), fme_apply::ProgressReporter.graph(), loco::Node.graph(), luci::ProgressReporter.graph(), luci::Module.graph(), moco::tf::ProgressReporter.graph(), and TopologicalSortHelper.TopologicalSortHelper.sort_util().
Referenced by TopologicalSortHelper.TopologicalSortHelper.sort(), and TopologicalSortHelper.TopologicalSortHelper.sort_util().
TopologicalSortHelper.TopologicalSortHelper.graph |
Definition at line 22 of file TopologicalSortHelper.py.
Referenced by TopologicalSortHelper.TopologicalSortHelper.add_edge(), and TopologicalSortHelper.TopologicalSortHelper.sort_util().
TopologicalSortHelper.TopologicalSortHelper.vertices |
Definition at line 23 of file TopologicalSortHelper.py.
Referenced by TopologicalSortHelper.TopologicalSortHelper.sort().