Home
last modified time | relevance | path

Searched refs:add_parameter (Results 1 – 25 of 93) sorted by relevance

1234

/third_party/mindspore/tests/ut/cpp/pipeline/static_analysis/
Dspecialize_test.cc60 ParameterPtr y = graph_g_->add_parameter(); in SetUp()
73 ParameterPtr x = graph_f_->add_parameter(); in SetUp()
93 x = graph_alpha_->add_parameter(); in SetUp()
94 y = graph_alpha_->add_parameter(); in SetUp()
97 ParameterPtr x1 = graph_beta_->add_parameter(); in SetUp()
164 ParameterPtr x = graph_g->add_parameter(); in GenerateFromTypes()
165 ParameterPtr y = graph_g->add_parameter(); in GenerateFromTypes()
193 ParameterPtr x = graph_->add_parameter(); in SetUp()
194 ParameterPtr y = graph_->add_parameter(); in SetUp()
Dstatic_analysis_test.cc98 ParameterPtr x = fg->add_parameter(); in GenerateFromTypes()
99 ParameterPtr y = fg->add_parameter(); in GenerateFromTypes()
136 ParameterPtr x = func_graph->add_parameter(); in MakeFuncGraph()
137 ParameterPtr y = func_graph->add_parameter(); in MakeFuncGraph()
193 ParameterPtr y = graph_g_->add_parameter(); in SetUp()
206 ParameterPtr x = graph_f_->add_parameter(); in SetUp()
226 x = graph_alpha_->add_parameter(); in SetUp()
227 y = graph_alpha_->add_parameter(); in SetUp()
230 ParameterPtr x1 = graph_beta_->add_parameter(); in SetUp()
333 ParameterPtr x = func_graph_->add_parameter(); in SetUp()
[all …]
/third_party/mindspore/tests/ut/cpp/ir/
Dmanager_test.cc255 ParameterPtr x = func_graph->add_parameter(); in MakeFuncGraph()
256 ParameterPtr y = func_graph->add_parameter(); in MakeFuncGraph()
280 ParameterPtr x = f->add_parameter(); in MakeNestedGraph()
308 ParameterPtr x = graph_foo->add_parameter(); in MakeNestedGraph2()
309 ParameterPtr y = graph_foo->add_parameter(); in MakeNestedGraph2()
315 ParameterPtr x1 = graph_bar->add_parameter(); in MakeNestedGraph2()
360 ParameterPtr x = func_graph->add_parameter(); in TEST_F()
361 ParameterPtr y = func_graph->add_parameter(); in TEST_F()
439 ParameterPtr x = f->add_parameter(); in TEST_F()
440 ParameterPtr y = f->add_parameter(); in TEST_F()
[all …]
/third_party/mindspore/mindspore/ccsrc/frontend/operator/composite/
Dunpack_call.cc57 AnfNodePtr fn_node = ret_graph->add_parameter(); in GenerateFuncGraph()
64 AnfNodePtr para_tuple = ret_graph->add_parameter(); in GenerateFuncGraph()
71 AnfNodePtr para_list = ret_graph->add_parameter(); in GenerateFuncGraph()
78 AnfNodePtr para_dict = ret_graph->add_parameter(); in GenerateFuncGraph()
Dcomposite.cc351 ptrFnArg = ptr_graph->add_parameter(); in GenerateFromTypes()
357 argmap.push_back(std::make_pair(ptr_graph->add_parameter(), args_spec_list[i])); in GenerateFromTypes()
423 AnfNodePtr ptrTup = ret->add_parameter(); in GenerateSequeueFuncGraph()
491 params.push_back(fg->add_parameter()); in GenerateFuncGraph()
503 AnfNodePtr dout = b->add_parameter(); in GenerateFuncGraph()
532 params.push_back(fg->add_parameter()); in GenerateFuncGraph()
544 AnfNodePtr dout = b->add_parameter(); in GenerateFuncGraph()
588 inputs.push_back(k_child->add_parameter()); in GetGrad()
607 bprop_arg = k_child->add_parameter(); in GradByParameter()
689 ParameterPtr param_graph = grad_fg->add_parameter(); in GenerateFuncGraph()
[all …]
Dlist_append_operation.cc40 AnfNodePtr arg0_node = ret->add_parameter(); in GenerateFuncGraph()
48 AnfNodePtr arg1_node = ret->add_parameter(); in GenerateFuncGraph()
Dmap.cc58 ptrFnArg = ptrGraph->add_parameter(); in GenerateLeafFunc()
62 args.emplace_back(ptrGraph->add_parameter()); in GenerateLeafFunc()
295 ptrFnArg = ptrGraph->add_parameter(); in GenerateFromTypes()
302 arg_pairs.push_back(std::make_pair(ptrGraph->add_parameter(), args_spec_list[i])); in GenerateFromTypes()
/third_party/mindspore/tests/ut/cpp/optimizer/ad/
Dkpynative_test.cc48 auto x = g->add_parameter(); in BuildPrimalFuncGraph()
49 auto y = g->add_parameter(); in BuildPrimalFuncGraph()
64 auto x = g->add_parameter(); in BuildStopGradient()
66 auto y = g->add_parameter(); in BuildStopGradient()
/third_party/mindspore/tests/ut/cpp/session/
Dsession_basic_test.cc47 auto original_x_parameter = anf_graph->add_parameter(); in TEST_F()
51 auto original_y_parameter = anf_graph->add_parameter(); in TEST_F()
60 auto original_z_parameter = anf_graph->add_parameter(); in TEST_F()
Dkernel_graph_test.cc71 auto non_weight_parameter = anf_graph->add_parameter(); in TEST_F()
83 auto weight_parameter_node = anf_graph->add_parameter(); in TEST_F()
110 auto x_parameter = kernel_graph->add_parameter(); in TEST_F()
113 auto y_parameter = kernel_graph->add_parameter(); in TEST_F()
Danf_runtime_algorithm_test.cc51 ParameterPtr parameter_node = kernel_graph->add_parameter(); in TEST_F()
117 auto parameter_node = kernel_graph->add_parameter(); in TEST_F()
140 auto parameter = kernel_graph->add_parameter(); in TEST_F()
159 auto parameter = kernel_graph->add_parameter(); in TEST_F()
183 auto parameter = kernel_graph->add_parameter(); in TEST_F()
203 auto parameter = kernel_graph->add_parameter(); in TEST_F()
302 auto parameter_node = kernel_graph->add_parameter(); in TEST_F()
320 auto parameter_node = kernel_graph->add_parameter(); in TEST_F()
447 auto parameter_node = kernel_graph->add_parameter(); in TEST_F()
503 auto parameter_node = kernel_graph->add_parameter(); in TEST_F()
[all …]
/third_party/mindspore/tests/ut/cpp/parallel/
Dstep_auto_parallel_test.cc54 ParameterPtr param1 = func_graph->add_parameter(); in Create_Node()
55 ParameterPtr param2 = func_graph->add_parameter(); in Create_Node()
86 ParameterPtr paramX = func_graph->add_parameter(); in Create_two_nodes()
87 ParameterPtr paramY = func_graph->add_parameter(); in Create_two_nodes()
88 ParameterPtr paramW = func_graph->add_parameter(); in Create_two_nodes()
Dstep_parallel_test.cc60 ParameterPtr param1 = func_graph->add_parameter(); in Make_Node()
61 ParameterPtr param2 = func_graph->add_parameter(); in Make_Node()
124 ParameterPtr param1 = func_graph->add_parameter(); in Make_Manager()
125 ParameterPtr param2 = func_graph->add_parameter(); in Make_Manager()
126 ParameterPtr param3 = func_graph->add_parameter(); in Make_Manager()
/third_party/mindspore/mindspore/core/api/ir/
Dfunc_graph.h36 virtual void add_parameter(const ParameterPtr &p) = 0;
37 virtual ParameterPtr add_parameter() = 0;
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ad/
Dkprim.cc540 auto transf_p = outer->add_parameter(); in TransformNormalArgs()
555 auto transf_p = outer->add_parameter(); in TransformArgsForPrimitive()
560 auto transf_p = outer->add_parameter(); in TransformArgsForPrimitive()
588 auto transf_p = outer->add_parameter(); in TransformArgsForFuncGraph()
679 auto param = func_graph->add_parameter(); in BpropCut()
682 auto p1 = func_graph->add_parameter(); in BpropCut()
683 auto p2 = func_graph->add_parameter(); in BpropCut()
728 auto param = func_graph->add_parameter(); in FakeBprop()
733 (void)func_graph->add_parameter(); in FakeBprop()
734 (void)func_graph->add_parameter(); in FakeBprop()
Dkpynative.cc180 auto param = func_graph->add_parameter(); in BuildFakeBProp()
186 (void)func_graph->add_parameter(); in BuildFakeBProp()
187 (void)func_graph->add_parameter(); in BuildFakeBProp()
260 (void)tape_->add_parameter(); in KPynativeCellImpl()
913 auto param = func_graph->add_parameter(); in BuildBPropCutFuncGraph()
917 auto p1 = func_graph->add_parameter(); in BuildBPropCutFuncGraph()
918 auto p2 = func_graph->add_parameter(); in BuildBPropCutFuncGraph()
940 auto param = b->add_parameter(); in BuildMakeSequenceBprop()
944 auto p1 = b->add_parameter(); in BuildMakeSequenceBprop()
946 AnfNodePtr dout = b->add_parameter(); in BuildMakeSequenceBprop()
[all …]
/third_party/mindspore/tests/ut/cpp/optimizer/
Dclean_test.cc83 me_graph->add_parameter(parameter); in SetUp()
158 func_graph->add_parameter(para1); in TEST_F()
159 func_graph->add_parameter(para2); in TEST_F()
197 func_graph->add_parameter(para1); in TEST_F()
/third_party/mindspore/mindspore/lite/test/ut/tools/converter/registry/parser/
Dmodel_parser_test.cc66 auto parameter = res_graph_->add_parameter(); in BuildGraphInputs()
114 auto parameter = res_graph_->add_parameter(); in BuildGraphNodes()
/third_party/mindspore/tests/ut/cpp/pre_activate/mem_reuse/
Dmem_reuse_test.cc157 auto original_x_parameter = anf_graph->add_parameter(); in CreateGraphWithExecOrder()
161 auto original_y_parameter = anf_graph->add_parameter(); in CreateGraphWithExecOrder()
170 auto original_z_parameter = anf_graph->add_parameter(); in CreateGraphWithExecOrder()
/third_party/mindspore/mindspore/lite/tools/converter/parser/
Dlstm_adjust_pass.cc203 auto ih_weight_paramter = func_graph->add_parameter(); in ReplaceLstmNode()
212 auto hh_weight_paramter = func_graph->add_parameter(); in ReplaceLstmNode()
220 auto bias_paramter = func_graph->add_parameter(); in ReplaceLstmNode()
/third_party/mindspore/mindspore/lite/tools/converter/parser/onnx/
Donnx_model_parser.cc70 auto const_node = anf_graph->add_parameter(); in CreateConstParamter()
267 auto parameter = func_graph_ptr->add_parameter(); in ConvertConstTensors()
287 auto parameter = func_graph_ptr->add_parameter(); in ConvertGraphInputs()
378 auto input_parameter = cond_graph->add_parameter(); in BuildCondGraph()
860 auto ext_subgraph_input = anf_graph->add_parameter(); in BuildCNode()
901 auto extra_input_parameter = func_graph->add_parameter(); in BuildCNode()
1157 auto item_index_parameter = anf_graph->add_parameter(); in AddTensorArrayEdge()
1188 auto while_tensor_array_input = anf_root_graph->add_parameter(); in AddTensorArrayEdge()
1215 auto subgraph_tensor_array_input = anf_graph->add_parameter(); in AddTensorArrayEdge()
1281 auto parameter_node = res_graph_->add_parameter(); in BuildParameterNodeForQuantParam()
/third_party/mindspore/mindspore/lite/tools/optimizer/graph/
Dcontrol_flow_pass.cc265 auto new_parameter = cond_fg->add_parameter(); in CreateWhileCondCallNode()
318 auto new_parameter = body_fg->add_parameter(); in CreateWhileBodyPartialNode()
400 auto new_parameter = after_fg->add_parameter(); in CreateWhileAfterPartialNode()
410 auto new_parameter = after_fg->add_parameter(); in CreateWhileAfterPartialNode()
584 auto new_parameter = then_fg->add_parameter(); in CreateIfPartialNode()
650 auto new_parameter = (*after_fg)->add_parameter(); in CreateIfPartialNode()
/third_party/mindspore/mindspore/lite/tools/converter/parser/tf/
Dfunctionalize_while.cc314 cond_sub_func_graph_->add_parameter(node->cast<ParameterPtr>()); in CondSubgraphAddNodes()
346 auto parameter = cond_sub_func_graph_->add_parameter(); in IdentifyCondSubgraphInput()
450 body_sub_func_graph_->add_parameter(node->cast<ParameterPtr>()); in BodySubgraphAddNodes()
486 auto parameter = body_sub_func_graph_->add_parameter(); in IdentifyBodySubgraphInput()
Dfunctionalize_cond.cc83 graph->add_parameter(node->cast<ParameterPtr>()); in BranchSubGraphAddNodes()
126 auto parameter = graph->add_parameter(); in IdentifySubgraphInput()
/third_party/mindspore/mindspore/lite/tools/converter/parser/caffe/
Dcaffe_model_parser.cc310 auto parameter = res_graph_->add_parameter(); in ConvertGraphInputsOfLayer()
347 auto parameter = res_graph_->add_parameter(); in ConvertGraphInputsOfShape()
385 auto parameter = res_graph_->add_parameter(); in ConvertGraphInputsOfDim()
508 auto parameter = res_graph_->add_parameter(); in ConvertBlobs()

1234