change debug_name tofull_name

This commit is contained in:
lichen_101010 2020-09-01 15:43:21 -04:00
parent 0cb6d29f0c
commit 5b7d90d5df
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) {