Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/core/ir/
Dfunc_graph_extends.cc130 std::string kw_param_name = kwarg->get_key(); in GenerateKwParams() local
132 AnfNodePtr param_node = specialized_graph->GetParameterByName(kw_param_name); in GenerateKwParams()
136 MS_LOG(EXCEPTION) << "Got unexpected keyword argument: " << kw_param_name; in GenerateKwParams()
139 … std::string param_name = specialized_graph->GetVariableKwargName() + "[" + kw_param_name + "]"; in GenerateKwParams()
148 MS_EXCEPTION(TypeError) << "Multiply values for keyword argument: " << kw_param_name; in GenerateKwParams()
152 kwarg_keys_tuple_nodes.push_back(NewValueNode(kw_param_name)); in GenerateKwParams()
154 …ized_graph->NewCNode({NewValueNode(prim::kPrimExtractKeywordArg), NewValueNode(kw_param_name), p}); in GenerateKwParams()
162 MS_EXCEPTION(TypeError) << "Multiply values for specific argument: " << kw_param_name; in GenerateKwParams()
166 {NewValueNode(prim::kPrimExtractKeywordArg), NewValueNode(kw_param_name), param_node}); in GenerateKwParams()