Home
last modified time | relevance | path

Searched refs:graph_out (Results 1 – 16 of 16) sorted by relevance

/third_party/mindspore/tests/st/control/inner/
Dtest_break_continue.py69 graph_out = forward_net(x, y)
70 assert graph_out == Tensor(np.array(3), mstype.int32)
329 graph_out = forward_net(x, y)
331 assert graph_out == Tensor(np.array(54), mstype.int32)
375 graph_out = forward_net(x)
377 assert graph_out == Tensor(np.array(1), mstype.int32)
405 graph_out = forward_net(x, y, z)
406 print("test_for_in_for_break graph out:", graph_out)
Dtest_012_if_in_for_break.py62 graph_out = forward_net(x, y)
64 assert graph_out == Tensor(np.array(9), mstype.int32)
Dtest_022_for_while_normal.py65 graph_out = forward_net(x, y)
67 assert graph_out == Tensor(np.array(27), mstype.int32)
Dtest_021_while_while_normal.py67 graph_out = forward_net(x, y)
69 assert graph_out == Tensor(np.array(27), mstype.int32)
Dtest_202_while_n_while.py68 graph_out = forward_net(x, y)
70 assert graph_out == Tensor(np.array(18), mstype.int32)
Dtest_301_while_normal_for.py66 graph_out = forward_net(x, y)
68 assert graph_out == Tensor(np.array(18), mstype.int32)
Dtest_222_for_while_while.py69 graph_out = forward_net(x, y)
71 assert graph_out == Tensor(np.array(36), mstype.int32)
Dtest_321_while_while_in_while.py71 graph_out = forward_net(x, y)
73 assert graph_out == Tensor(np.array(36), mstype.int32)
Dtest_221_while_while_while.py71 graph_out = forward_net(x, y)
73 assert graph_out == Tensor(np.array(36), mstype.int32)
Dtest_201_for_n_while.py66 graph_out = forward_net(x, y)
68 assert graph_out == Tensor(np.array(18), mstype.int32)
Dtest_311_while_if_for.py70 graph_out = forward_net(x, y)
72 assert graph_out == Tensor(np.array(13), mstype.int32)
Dtest_232_for_for_while.py68 graph_out = forward_net(x, y)
70 assert graph_out == Tensor(np.array(36), mstype.int32)
Dtest_011_if_in_while_break.py123 graph_out = forward_net(x, y)
125 assert graph_out == Tensor(np.array(21), mstype.int32)
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/pipeline_transformer/
Dpipeline_transformer.cc742 auto graph_out = graph->output(); in IsParameterGraph() local
743 MS_EXCEPTION_IF_NULL(graph_out); in IsParameterGraph()
744 auto actual_op = ActualOp(graph_out); in IsParameterGraph()
775 auto graph_out = ActualOp(graph->output()); in HandleParameterGraph() local
776 MS_EXCEPTION_IF_NULL(graph_out); in HandleParameterGraph()
778 auto param_iter = std::find(parameter_list.begin(), parameter_list.end(), graph_out); in HandleParameterGraph()
789 argument = graph_out; in HandleParameterGraph()
/third_party/mindspore/tests/st/pynative/
Dtest_pynative_layernorm_input_and_argmaxwithvalue.py130 graph_out = self.forward_mindspore_impl()
135 allclose_nparray(graph_out[0], pynative_out[0], self.loss, self.loss)
/third_party/mindspore/mindspore/lite/tools/converter/parser/onnx/
Donnx_model_parser.cc333 for (const auto &graph_out : onnx_graph.output()) { in ConvertGraphOutputs() local
334 if (anf_nodes_map.find(graph_out.name()) == anf_nodes_map.end()) { in ConvertGraphOutputs()
338 auto cnode = anf_nodes_map.at(graph_out.name()); in ConvertGraphOutputs()
353 const auto &graph_out = onnx_graph.output(0); in ConvertGraphOutputs() local
354 if (anf_nodes_map.find(graph_out.name()) == anf_nodes_map.end()) { in ConvertGraphOutputs()
358 auto cnode = anf_nodes_map.at(graph_out.name()); in ConvertGraphOutputs()