Searched refs:para_node (Results 1 – 4 of 4) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ |
D | py_pass.cc | 96 auto para_node = std::make_shared<Parameter>(top_graph); in BuildNewParameter() local 97 MS_EXCEPTION_IF_NULL(para_node); in BuildNewParameter() 98 para_node->set_name(para_name); in BuildNewParameter() 100 para_node->set_func_graph(top_graph); in BuildNewParameter() 103 para_node->set_debug_info(debug_info); in BuildNewParameter() 107 para_node->set_abstract(default_value->ToAbstract()->Broaden()); in BuildNewParameter() 108 res->add_entry(pattern, para_node); in BuildNewParameter() 109 top_graph->add_parameter(para_node); in BuildNewParameter() 111 …internal::ReflectParamBackToPython(para_node, para_name, default_value, new_para_pattern->requires… in BuildNewParameter() 113 …MS_LOG(WARNING) << "Adding parameter: " + para_node->ToString() + " parameter name:" + para_node->… in BuildNewParameter() [all …]
|
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/ |
D | resolve.cc | 113 AnfNodePtr para_node = nullptr; in ResolveParameterObj() local 117 para_node = param; in ResolveParameterObj() 119 … << ", param: " << para_node->DebugString() << ", top_func_graph: " << top_func_graph->ToString(); in ResolveParameterObj() 123 if (para_node == nullptr) { in ResolveParameterObj() 130 para_node = node; in ResolveParameterObj() 132 … << ", param: " << para_node->DebugString() << ", top_func_graph: " << top_func_graph->ToString(); in ResolveParameterObj() 134 func_graph->add_parameter_obj_node(para_node); in ResolveParameterObj() 136 return para_node; in ResolveParameterObj()
|
D | parse.cc | 211 auto para_node = std::make_shared<Parameter>(block_fg); in GenerateArgsNodeForFunction() local 212 MS_EXCEPTION_IF_NULL(para_node); in GenerateArgsNodeForFunction() 213 para_node->set_name(arg_name); in GenerateArgsNodeForFunction() 214 para_node->debug_info()->set_name(arg_name); in GenerateArgsNodeForFunction() 215 block_fg->add_parameter(para_node); in GenerateArgsNodeForFunction() 216 AnfNodePtr para_after_cast = GetMixedPrecisionCastHelp(block_fg, para_node); in GenerateArgsNodeForFunction() 933 auto para_node = std::make_shared<Parameter>(block_fg); in ParseLambda() local 934 para_node->debug_info()->set_name(arg); in ParseLambda() 935 block_fg->add_parameter(para_node); in ParseLambda() 936 func_block->WriteVariable(arg, para_node); in ParseLambda()
|
/third_party/mindspore/mindspore/ccsrc/pipeline/pynative/ |
D | pynative_execute.cc | 1431 auto para_node = out.first; in GetObjNode() local 1433 …nfNodePtr> tuple_get_item_inputs{NewValueNode(prim::kPrimTupleGetItem), para_node, NewValueNode(v)… in GetObjNode() 1435 para_node = curr_g_->NewCNode(tuple_get_item_inputs); in GetObjNode() 1437 return para_node; in GetObjNode() 2595 AnfNodePtr para_node = nullptr; in GetWeightsArgs() local 2597 para_node = graph_info->params.at(param_id); in GetWeightsArgs() 2598 w_args.emplace_back(para_node); in GetWeightsArgs() 2608 para_node = graph_info->params.at(param_name); in GetWeightsArgs() 2616 para_node = free_param; in GetWeightsArgs() 2618 w_args.emplace_back(para_node); in GetWeightsArgs()
|