diff --git a/mindspore/ccsrc/backend/session/ascend_session.cc b/mindspore/ccsrc/backend/session/ascend_session.cc index 2a662fbe511..a5baddd5178 100644 --- a/mindspore/ccsrc/backend/session/ascend_session.cc +++ b/mindspore/ccsrc/backend/session/ascend_session.cc @@ -177,6 +177,7 @@ GraphId AscendSession::CompileGraph(NotNull func_graph) { if (debugger_) { debugger_->PreExecute(root_graph); } + SetSummaryNodes(root_graph.get()); // alloc mem MemoryAlloc(root_graph.get()); // generate and load task into device