!6802 fix summarynodes in new control_flow

Merge pull request !6802 from Margaret_wangrui/fix_summarynodes_in_new_control_flow
This commit is contained in:
mindspore-ci-bot 2020-09-24 11:08:34 +08:00 committed by Gitee
commit eeb707a7db
1 changed files with 1 additions and 0 deletions

View File

@ -177,6 +177,7 @@ GraphId AscendSession::CompileGraph(NotNull<FuncGraphPtr> func_graph) {
if (debugger_) {
debugger_->PreExecute(root_graph);
}
SetSummaryNodes(root_graph.get());
// alloc mem
MemoryAlloc(root_graph.get());
// generate and load task into device