!40274 Delete Reset Load Fullname

Merge pull request !40274 from jiaorui/fix-load-fullname
This commit is contained in:
i-robot 2022-08-12 03:06:29 +00:00 committed by Gitee
commit dfa2cd50ba
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 0 additions and 3 deletions

View File

@ -1280,9 +1280,6 @@ KernelGraphPtr SessionBasic::ConstructKernelGraph(const AnfNodePtrList &lst, con
new_cnode->set_abstract(cnode->abstract());
new_cnode->set_scope(cnode->scope());
new_cnode->set_parallel(cnode->is_parallel());
if (IsPrimitiveCNode(cnode, prim::kPrimLoad)) {
new_cnode->set_fullname_with_scope(cnode->input(kFirstDataInputIndex)->fullname_with_scope());
}
// record map relations between anf from ME and new anf node used in backend
graph->FrontBackendMapAdd(node, new_cnode);
}