Home
last modified time | relevance | path

Searched refs:set_fullname_with_scope (Results 1 – 25 of 50) sorted by relevance

12

/third_party/mindspore/mindspore/lite/tools/converter/import/
Dmindir_control_flow_adjust.cc95 after_partial_cnode->set_fullname_with_scope("partial_" + after_fg_name); in ModifyFgToCallAfterFg()
101 call_node->set_fullname_with_scope("call_" + after_partial_cnode->fullname_with_scope()); in ModifyFgToCallAfterFg()
140 make_tuple_cnode->set_fullname_with_scope("return tuple"); in AddAfterFuncGraph()
151 cnode->set_fullname_with_scope("Return"); in AddAfterFuncGraph()
164 return_cnode->set_fullname_with_scope("Return"); in AddAfterFuncGraph()
254 partial_cnode->set_fullname_with_scope("partial_" + call_cnode->fullname_with_scope()); in InsertPartialFusionForRawCall()
/third_party/mindspore/mindspore/lite/tools/optimizer/graph/
Dadd_tensor_array.cc93 make_tuple_cnode->set_fullname_with_scope("return tuple"); in SetGraphOutput()
105 new_return_node->set_fullname_with_scope(return_cnode->fullname_with_scope()); in SetGraphOutput()
179 tensor_array_node->set_fullname_with_scope(cnode->fullname_with_scope() + "_tensor_array"); in Process()
194 …tensor_array_read_node->set_fullname_with_scope(cnode->fullname_with_scope() + "_tensor_array_read… in Process()
213 …tensor_array_write_node->set_fullname_with_scope(cnode->fullname_with_scope() + "_tensor_array_wri… in Process()
Dcontrol_flow_pass.cc275 …cond_partial_cnode->set_fullname_with_scope("partial_" + cond_fg->get_attr("graph_name")->ToString… in CreateWhileCondCallNode()
281 (*cond_call_cnode)->set_fullname_with_scope("call_" + cond_partial_cnode->fullname_with_scope()); in CreateWhileCondCallNode()
308 …(*body_partial_node)->set_fullname_with_scope("CNode_" + body_fg->get_attr("graph_name")->ToString… in CreateWhileBodyPartialNode()
347 …cond_call_cnode->set_fullname_with_scope(body_fg->get_attr("graph_name")->ToString() + "_call_cond… in CreateWhileBodyPartialNode()
422 …(*after_partial_cnode)->set_fullname_with_scope("CNode_" + after_fg->get_attr("graph_name")->ToStr… in CreateWhileAfterPartialNode()
487 …switch_cnode->set_fullname_with_scope("while-Switch-" + cond_fg->get_attr("graph_name")->ToString(… in ProcessWhileOp()
493 call_node->set_fullname_with_scope("call_" + switch_cnode->fullname_with_scope()); in ProcessWhileOp()
600 (*then_partial_cnode)->set_fullname_with_scope("partial_" + then_fg_name); in CreateIfPartialNode()
628 after_partial_cnode->set_fullname_with_scope("partial_" + after_fg_name); in CreateIfPartialNode()
634 call_node->set_fullname_with_scope("call_" + after_partial_cnode->fullname_with_scope()); in CreateIfPartialNode()
[all …]
Dclip_convert_activation_pass.cc99 new_cnode->set_fullname_with_scope(node->fullname_with_scope()); in Run()
/third_party/mindspore/mindspore/lite/tools/converter/parser/tf/
Dfunctionalize_while.cc116 …while_node_->set_fullname_with_scope(loop_cond_node_->fullname_with_scope() + "-while-" + std::to_… in NewWhileNode()
254 get_item_node->set_fullname_with_scope(output_item_name); in UpdateExitNodeUser()
387 return_cnode->set_fullname_with_scope(cond_subgraph_name_ + "-return"); in IdentifyCondSubgraphOutput()
395 …cond_sub_func_graph_output_cnode->set_fullname_with_scope(cond_subgraph_name_ + "_output_0_cnode"); in IdentifyCondSubgraphOutput()
530 …node_pair.second->cast<CNodePtr>()->set_fullname_with_scope(body_subgraph_name_ + "_output_" + std… in IdentifyBodySubgraphOutput()
545 return_cnode->set_fullname_with_scope(body_subgraph_name_ + "-return"); in IdentifyBodySubgraphOutput()
561 make_tuple_cnode->set_fullname_with_scope(return_cnode->fullname_with_scope() + "tuple"); in IdentifyBodySubgraphOutput()
Dfunctionalize_cond.cc170 return_cnode->set_fullname_with_scope(name + "-return"); in CreateBranchGraph()
177 graph_output_cnode->set_fullname_with_scope(name + "_output_0_cnode"); in CreateBranchGraph()
Dtf_model_parser.cc682 …sub_output_nodes[j]->cast<CNodePtr>()->set_fullname_with_scope(sub_graph_name + "_output_" + std::… in ConvertSubgraphOutputs()
818 new_node->set_fullname_with_scope(control_flow_node->fullname_with_scope()); in ControlFlowNodePostProcess()
905 get_item_cnode->set_fullname_with_scope(output_item_name); in ConvertOutputTensor()
987 anf_node->set_fullname_with_scope(node_def.name()); in ConvertOps()
1157 make_tuple_cnode->set_fullname_with_scope("return_tuple"); in MakeAnfGraphOutputs()
1169 cnode->set_fullname_with_scope("Return"); in MakeAnfGraphOutputs()
1182 return_cnode->set_fullname_with_scope("Return"); in MakeAnfGraphOutputs()
/third_party/mindspore/mindspore/lite/tools/optimizer/parallel/
Doperator_info.cc128 …tuple_getitem->set_fullname_with_scope(cnode->fullname_with_scope() + "_TupleGetItem" + std::to_st… in CreateMultipleOutputsOfAnfNode()
157 concat_cnode->set_fullname_with_scope("Concat_" + name_); in CreateConcateNode()
184 addn_cnode->set_fullname_with_scope("AddN_" + name_); in CreateReduceNode()
Dparallel_pass.cc69 cnode->set_fullname_with_scope(cnode_name + PARALLEL_NAME_SUFFIX); in SetParallelOpName()
/third_party/mindspore/mindspore/lite/tools/converter/parser/onnx/
Donnx_pad_adjust.cc74 reshape->set_fullname_with_scope(input_node->fullname_with_scope() + "_reshape"); in NewReshapeOpNode()
96 reshape->set_fullname_with_scope(input_node->fullname_with_scope() + "_transpose"); in NewTransposeOpNode()
Donnx_model_parser.cc142 sub_cnode->set_fullname_with_scope(loop_node_name + "_sub"); in AddIterNumsUpdateEdge()
174 return_cnode->set_fullname_with_scope("Return"); in BuildReturnNode()
245 …get_item_cnode->set_fullname_with_scope(cnode->fullname_with_scope() + "_getitem_" + std::to_strin… in BuildOpOutputs()
350 make_tuple_cnode->set_fullname_with_scope("return tuple"); in ConvertGraphOutputs()
405 less_cnode->set_fullname_with_scope(cond_graph_name + "_less_cnode"); in BuildCondGraph()
417 … and_cnode->set_fullname_with_scope(cond_graph_name + "_output_" + std::to_string(0) + "_cnode"); in BuildCondGraph()
495 return_new_inputs[j]->cast<CNodePtr>()->set_fullname_with_scope(body_graph_name + "_output_" + in BuildBodyGraph()
776 return_act_inputs[j]->cast<CNodePtr>()->set_fullname_with_scope(subgraph_name + "_output_" + in ConvertIfSubgraph()
929 new_cnode->set_fullname_with_scope(onnx_node.op_type() + "_" + onnx_node.output(0)); in BuildCNode()
1124 …tensorlist_stack_cnode->set_fullname_with_scope(loop_node_name + "_tensorlist_stack_node_" + std::… in AddTensorListStackNode()
[all …]
/third_party/mindspore/mindspore/lite/test/ut/tools/converter/registry/parser/
Dmodel_parser_test.cc131 cnode->set_fullname_with_scope(node_name); in BuildGraphNodes()
157 return_cnode->set_fullname_with_scope("Return"); in BuildGraphOutputs()
/third_party/mindspore/mindspore/lite/tools/converter/parser/
Dconv1d_inout_adjust.cc48 unsqueeze->set_fullname_with_scope(input_node->fullname_with_scope() + "_unsqueeze"); in NewUnsqueezeOpNode()
62 squeeze->set_fullname_with_scope(input_node->fullname_with_scope() + "_squeeze"); in NewSqueezeOpNode()
/third_party/mindspore/mindspore/lite/tools/converter/parser/caffe/
Dcaffe_model_parser.cc247 new_cnode->set_fullname_with_scope(layer.name()); in ConvertLayers()
436 make_tuple_cnode->set_fullname_with_scope("return tuple"); in ConvertGraphOutputs()
447 cnode->set_fullname_with_scope("Return"); in ConvertGraphOutputs()
467 returnCnode->set_fullname_with_scope("Return"); in ConvertGraphOutputs()
601 get_item_cnode->set_fullname_with_scope(layer.top(i)); in ConvertTop()
/third_party/mindspore/mindspore/lite/tools/converter/parser/tflite/
Dtflite_model_parser.cc282 new_cnode->set_fullname_with_scope(op_name); in ConvertOps()
487 make_tuple_cnode->set_fullname_with_scope("return_tuple"); in ConvertGraphOutputs()
499 cnode->set_fullname_with_scope("Return"); in ConvertGraphOutputs()
522 returnCnode->set_fullname_with_scope("Return"); in ConvertGraphOutputs()
539 …output_node->cast<CNodePtr>()->set_fullname_with_scope(subgraph_name + "_output_" + std::to_string… in ConvertGraphOutputs()
602 new_node->set_fullname_with_scope(control_flow_node->fullname_with_scope()); in ControlFlowNodePostProcess()
789 get_item_cnode->set_fullname_with_scope(output_item_name); in ConvertOutputTensor()
/third_party/mindspore/mindspore/lite/tools/optimizer/fusion/
Dtflite_rel_pos_multi_head_attention_fusion.cc238 weight_q_transpose->set_fullname_with_scope("transpose_wq" + base_name); in CreateRelPosMultiHeadAttentionNode()
243 weight_k_transpose->set_fullname_with_scope("transpose_wk" + base_name); in CreateRelPosMultiHeadAttentionNode()
248 weight_v_transpose->set_fullname_with_scope("transpose_wv" + base_name); in CreateRelPosMultiHeadAttentionNode()
255 weight_o_transpose->set_fullname_with_scope("transpose_wo" + base_name); in CreateRelPosMultiHeadAttentionNode()
283 new_node->set_fullname_with_scope(base_name); in CreateRelPosMultiHeadAttentionNode()
Dmatmul_add_fusion.cc80 matmul_cnode->set_fullname_with_scope(node->fullname_with_scope()); in Run()
Dgelu_fusion.cc43 gelu_cnode->set_fullname_with_scope(node->fullname_with_scope() + "_gelu"); in CreateGeLUNode()
Dtf_bidirection_gru_fusion.cc578 new_node->set_fullname_with_scope("stack_hidden_" + base_name); in GetStackedHiddenState()
679 new_node->set_fullname_with_scope(base_name); in CreateBiDirectionGruNode()
696 split_new_node->set_fullname_with_scope("split_" + base_name); in GetPostProcessNode()
718 concat_new_node->set_fullname_with_scope("concat_" + base_name); in GetPostProcessNode()
731 squeeze_new_node->set_fullname_with_scope("squeeze_" + base_name); in GetPostProcessNode()
742 transpose_new_node->set_fullname_with_scope("transpose_" + base_name); in GetPostProcessNode()
Dglu_fusion.cc39 glu_cnode->set_fullname_with_scope(node->fullname_with_scope() + "_glu"); in CreateGLUNode()
Daffine_fusion.cc113 affine_node->set_fullname_with_scope(matmul_node->fullname_with_scope()); in Process()
/third_party/mindspore/mindspore/lite/test/ut/tools/converter/registry/
Dpass_registry_test.cc124 new_cnode->set_fullname_with_scope(cnode->fullname_with_scope()); in Execute()
156 custom_cnode->set_fullname_with_scope(cnode->fullname_with_scope()); in CreateCustomOp()
/third_party/mindspore/mindspore/lite/examples/converter_extend/src/
Dpass_registry_tutorial.cc64 custom_cnode->set_fullname_with_scope(cnode->fullname_with_scope()); in CreateCustomOp()
/third_party/mindspore/mindspore/lite/tools/optimizer/fisson/
Dfisson_util.cc314 …tuple_getitem->set_fullname_with_scope(cnode->fullname_with_scope() + "_TupleGetItem_" + std::to_s… in GetMultipleOutputsOfAnfNode()
348 concate_cnode->set_fullname_with_scope(node_name + "_Concat"); in CreateOutputsOfConcat()
386 split_cnode->set_fullname_with_scope(node_name + "_Split"); in CreateOutputsOfSplitWithOverlap()
/third_party/mindspore/mindspore/lite/tools/converter/acl/
Dacl_pass.cc380 custom_node->set_fullname_with_scope(kCustomNodeName); in CreateCustomNode()
412 …get_item_cnode->set_fullname_with_scope(custom_node->fullname_with_scope() + "_getitem_" + std::to… in ModifyGraphByCustomNode()

12