!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:
commit
82eb2634a0
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue