!25599 use root instead of subgraph id for overflow

Merge pull request !25599 from john_tzanakakis/jt_bug_fixes
This commit is contained in:
i-robot 2021-10-29 01:30:35 +00:00 committed by Gitee
commit 39a6fa69f1
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.";