Home
last modified time | relevance | path

Searched refs:TopoSort (Results 1 – 25 of 126) sorted by relevance

123456

/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/mindir/
Dall_to_all_unify_mindir_test.cc48 for (const auto &n : TopoSort(func_graph->get_return())) { in TEST_F()
68 for (const auto &n : TopoSort(func_graph->get_return())) { in TEST_F()
/third_party/mindspore/tests/ut/cpp/pre_activate/pass/
Dallreduce_fusion_test.cc60 auto node_list = TopoSort(func_graph->get_return()); in TEST_F()
101 auto node_list = TopoSort(func_graph->get_return()); in TEST_F()
142 auto node_list = TopoSort(func_graph->get_return()); in TEST_F()
199 auto node_list = TopoSort(func_graph->get_return()); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Dcast_matmul_fusion.cc57 auto nodes = TopoSort(func_graph->get_return()); in DoFuse()
99 auto nodes = TopoSort(func_graph->get_return()); in Run()
Daxis_normalizer.cc35 auto todos = TopoSort(func_graph->get_return()); in Process()
83 auto todos = TopoSort(func_graph->get_return()); in Run()
Doptimize_assign.cc144 auto todos = TopoSort(func_graph->get_return()); in RepalceOutputByParameter()
164 auto todos = TopoSort(func_graph->get_return()); in ReplaceAssignByInplaceAssignInGraphkernel()
192 auto todos = TopoSort(func_graph->get_return()); in RepalceAssignByInplaceAssign()
Dshape_ops_splitter.cc94 auto todos = TopoSort(func_graph->get_return()); in Process()
117 auto todos = TopoSort(func_graph->get_return()); in Run()
Draise_reduction_precision.cc88 auto todos = TopoSort(func_graph->get_return()); in Process()
113 auto todos = TopoSort(func_graph->get_return()); in Run()
Dtsa_atomic_add_to_first_tensor.cc137 …auto graph_attr = ExtractGraphKernelName(TopoSort(new_sub_graph->get_return()), "", "tsa_identity"… in ProcessTsaFirstNode()
202 …auto new_graph_name = ExtractGraphKernelName(TopoSort(sub_graph->get_return()), "", "tensor_scatte… in ProcessOriginCNode()
244 auto topo_nodes = TopoSort(kernel_graph->get_return()); in Run()
Dadd_stitch_atomic_clean_gpu.cc86 auto new_graph_name = ExtractGraphKernelName(TopoSort(sub_graph->get_return()), "", "atomic_add"); in ProcessOriginCNode()
137 auto topo_nodes = TopoSort(kernel_graph->get_return()); in Run()
Dvalue_graph_binder.cc27 auto todos = TopoSort(func_graph->get_return()); in Run()
Ddecrease_compute_precision.cc134 auto todos = TopoSort(func_graph->get_return()); in Process()
228 auto todos = TopoSort(func_graph->get_return()); in IsCastUnAware()
250 auto todos = TopoSort(func_graph->get_return()); in Run()
Duss_atomic_add.cc64 auto topo_nodes = TopoSort(kernel_graph->get_return()); in Run()
/third_party/mindspore/mindspore/lite/test/ut/tools/converter/registry/
Dpass_registry_test.cc101 auto node_list = api::FuncGraph::TopoSort(func_graph->get_return()); in Execute()
169 auto node_list = TopoSort(func_graph->get_return()); in Execute()
210 auto node_list = api::FuncGraph::TopoSort(func_graph_->get_return()); in TEST_F()
Dmodel_parser_registry_test.cc43 auto node_list = func_graph->TopoSort(func_graph->get_return()); in TEST_F()
/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/format_type/
Dinsert_cast_test.cc72 auto node_list = TopoSort(func_graph->get_return()); in TEST_F()
126 auto node_list = TopoSort(func_graph->get_return()); in TEST_F()
/third_party/mindspore/mindspore/lite/tools/optimizer/graph/
Dsplit_one_pass.cc30 auto node_list = TopoSort(func_graph->get_return()); in Run()
Dreduce_same_act_pass.cc30 auto node_list = TopoSort(func_graph->get_return()); in Run()
/third_party/mindspore/mindspore/lite/tools/optimizer/format/
Ddelete_redundant_transpose.cc28 auto node_list = TopoSort(func_graph->get_return()); in DeleteNot4DTranspose()
89 auto node_lite = TopoSort(func_graph->get_return()); in TransTransFusion()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/buffer_fusion/
Dbatchmatmul_fusedmuladd_fusion_pass.cc45 std::vector<AnfNodePtr> node_list = TopoSort(kernel_graph.get_return()); in MatchSingleFusionPattern()
Dconv_bnreduce_fusion_pass.cc47 std::vector<AnfNodePtr> node_list = TopoSort(kernel_graph.get_return()); in MatchSingleFusionPattern()
Dconv2dbackprop_eltwise_fusion_pass.cc50 std::vector<AnfNodePtr> node_list = TopoSort(kernel_graph.get_return()); in MatchSingleFusionPattern()
Dmatmul_confusiontranspose_fusion_pass.cc49 std::vector<AnfNodePtr> node_list = TopoSort(kernel_graph.get_return()); in MatchSingleFusionPattern()
/third_party/mindspore/mindspore/core/api/ir/
Dfunc_graph.h55 static std::vector<AnfNodePtr> TopoSort(const AnfNodePtr &node);
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Drefresh_parameter_format.cc51 std::vector<AnfNodePtr> node_list = TopoSort(func_graph->get_return()); in Run()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/enhancer/
Dinsert_depend_for_all_gather.cc26 std::vector<AnfNodePtr> node_list = TopoSort(graph->get_return()); in Run()

123456