!5739 change debug_name to full name in mindspore side

Merge pull request !5739 from lichen_101010/debugname_to_fullname
This commit is contained in:
mindspore-ci-bot 2020-09-10 21:11:30 +08:00 committed by Gitee
commit 82eb2634a0
2 changed files with 3 additions and 3 deletions

View File

@ -228,7 +228,7 @@ message NodeProto {
optional uint64 output_i = 7;
// for debugger, full name with scope
optional string debug_name = 8;
optional string full_name = 8;
}
// Models

View File

@ -431,8 +431,8 @@ void DebuggerProtoExporter::ExportCNode(const FuncGraphPtr &func_graph, const CN
node_proto->set_name(std::to_string(apply_idx));
node_proto->set_scope(node->scope()->name());
// add debug_name for debugger
node_proto->set_debug_name(node->fullname_with_scope());
// add full_name for debugger
node_proto->set_full_name(node->fullname_with_scope());
// process OP inputs
for (size_t i = 1; i < inputs.size(); ++i) {