Home
last modified time | relevance | path

Searched refs:get_return (Results 1 – 25 of 184) sorted by relevance

12345678

/third_party/mindspore/tests/ut/python/optimizer/
Dtest_python_pass.py55 transformed_repr = get_func_graph(softmax_model, inputs).get_return().expanded_str(2)
72 transformed_repr = get_func_graph(softmax_model, inputs).get_return().expanded_str(3)
98 transformed_repr = get_func_graph(softmax_model, inputs).get_return().expanded_str(3)
124 transformed_repr = get_func_graph(softmax_model, inputs).get_return().expanded_str(2)
148 transformed_repr = get_func_graph(softmax_model, inputs).get_return().expanded_str(4)
198 transformed_repr = get_func_graph(conv_bn_model, inputs).get_return().expanded_str(5)
226 transformed_repr = get_func_graph(softmax_model, inputs).get_return().expanded_str(5)
249 transformed_repr = get_func_graph(softmax_model, inputs).get_return().expanded_str(2)
276 transformed_repr = get_func_graph(softmax_model, inputs).get_return().expanded_str(5)
299 transformed_repr = get_func_graph(softmax_model, inputs).get_return().expanded_str(5)
[all …]
/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/format_type/
Dmerge_cast_to_op_test.cc75 g->get_return()->set_abstract(x_abstract); in TEST_F()
76 AnfNodePtr g_four2five = g->get_return()->input(1); in TEST_F()
86 auto ret = kernel_graph->get_return(); in TEST_F()
137 g->get_return()->set_abstract(x_abstract); in TEST_F()
138 AnfNodePtr g_cast = g->get_return()->input(1); in TEST_F()
148 auto ret = kernel_graph->get_return(); in TEST_F()
Dcheck_consistency_test.cc51 auto g_cast = g->get_return()->input(1); in TEST_F()
59 auto ret = kernel_graph->get_return(); in TEST_F()
112 auto g_cast = g->get_return()->input(1); in TEST_F()
120 auto ret = kernel_graph->get_return(); in TEST_F()
Dinsert_cast_test.cc72 auto node_list = TopoSort(func_graph->get_return()); in TEST_F()
80 } else if (node != func_graph->get_return() && AnfAlgo::IsRealKernel(node)) { in TEST_F()
126 auto node_list = TopoSort(func_graph->get_return()); in TEST_F()
134 } else if (node != func_graph->get_return() && AnfAlgo::IsRealKernel(node)) { in TEST_F()
/third_party/mindspore/mindspore/core/ir/
Dgraph_utils_extends.cc89 AnfNodePtr ret = cnode->func_graph()->get_return(); in Visit()
106 AnfNodePtr ret = graph->get_return(); in Visit()
117 AnfNodePtr ret = param->func_graph()->get_return(); in Visit()
142 AnfNodePtr ret = graph->get_return(); in Visit()
Dgraph_utils.cc86 if (next->func_graph() != nullptr && next->func_graph()->get_return() == next) { in TopoSort()
195 auto ret = graph->get_return(); in SuccDeeper()
218 auto ret = graph->get_return(); in SuccDeeperSimple()
287 auto vec = search(fg->get_return(), include); in FuncGraphIndex()
/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()
184 auto ret = func_graph->get_return(); in TEST_F()
199 auto node_list = TopoSort(func_graph->get_return()); in TEST_F()
Dconvert_const_input_to_tensor_input_test.cc57 auto ret = func_graph->get_return(); in TEST_F()
78 auto ret = func_graph->get_return(); in TEST_F()
96 auto ret = kernel_graph->get_return(); in TEST_F()
Dconst_to_attr_strided_slice_grad_test.cc44 auto ret = g->get_return(); in TEST_F()
61 ret = kg->get_return(); in TEST_F()
Dconvert_const_input_to_attr_test.cc86 auto ret = g->get_return(); in TEST_F()
100 ret = func_graph->get_return(); in TEST_F()
/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/common/
Dbackend_common_test.cc34 std::vector<AnfNodePtr> nodes = TopoSort(func_graph->get_return()); in GetCNodeList()
63 AnfNodePtrList outs = {inferred_graph->get_return()->input(1)}; in GetKernelGraph()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Daxis_normalizer.cc35 auto todos = TopoSort(func_graph->get_return()); in Process()
83 auto todos = TopoSort(func_graph->get_return()); in Run()
Dcast_matmul_fusion.cc57 auto nodes = TopoSort(func_graph->get_return()); in DoFuse()
99 auto nodes = 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()
Draise_reduction_precision.cc88 auto todos = TopoSort(func_graph->get_return()); in Process()
113 auto todos = TopoSort(func_graph->get_return()); in Run()
Dshape_ops_splitter.cc94 auto todos = TopoSort(func_graph->get_return()); in Process()
117 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()
/third_party/mindspore/tests/ut/cpp/ir/
Dclone_test.cc84 AnfNodeSet d1 = AnfNodeSet(DeepScopedGraphSearch(g->get_return())); in TEST_F()
85 AnfNodeSet d2 = AnfNodeSet(DeepScopedGraphSearch(g2->get_return())); in TEST_F()
94 AnfNodeSet d3 = AnfNodeSet(DeepScopedGraphSearch(g3->get_return())); in TEST_F()
/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()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/
Dstack_frame.h49 …node_slots_ = TopoSort(func_graph_->get_return(), SuccIncoming, [this](const AnfNodePtr &node) -> … in Load()
80 if (current_node == func_graph_->get_return()) { in NextNode()
/third_party/mindspore/tests/ut/cpp/tbe/
Dtbe_json_creator_test.cc51 auto ret = kg->get_return(); in TEST_F()
98 auto ret = kg->get_return(); in TEST_F()
150 auto ret = kg->get_return(); in TEST_F()
206 auto ret = kg->get_return(); in TEST_F()
251 auto ret = kg->get_return(); in TEST_F()
324 auto ret = kg->get_return(); in TEST_F()
/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/ir_fusion/
Dlayer_norm_beta_gamma_backprop_fusion_test.cc68 auto ret = g->get_return(); in TEST_F()
129 auto ret = g->get_return(); in TEST_F()
188 auto ret = g->get_return(); in TEST_F()
246 auto ret = g->get_return(); in TEST_F()
296 auto ret = g->get_return(); in TEST_F()
Dtranspose_transdata_fusion_test.cc93 auto ret = kg->get_return(); in TEST_F()
124 ret = new_graph->get_return(); in TEST_F()

12345678