use root instead of subgraph id for overflow

This commit is contained in:
John Tzanakakis 2021-10-28 12:07:37 -04:00
parent 036bc4329f
commit 254e4c9705
1 changed files with 1 additions and 1 deletions

View File

@ -1324,7 +1324,7 @@ bool DebugServices::CheckOpOverflow(std::string node_name_to_find, unsigned int
return false;
}
auto debugger = Debugger::GetInstance();
overflow_bin_path = DumpJsonParser::GetInstance().GetOpOverflowBinPath(debugger->GetGraphPtr()->graph_id());
overflow_bin_path = DumpJsonParser::GetInstance().GetOpOverflowBinPath(debugger->GetGraphPtr()->root_graph_id());
auto realpath = FileUtils::GetRealPath(overflow_bin_path.c_str());
if (!realpath.has_value()) {
MS_LOG(INFO) << "Get real path failed for overflow_bin_path.";