improve summary performance

This commit is contained in:
Margaret_wangrui 2020-06-18 19:47:39 +08:00
parent 53d7e622f9
commit 69b32e4dca
1 changed files with 1 additions and 1 deletions

View File

@ -774,7 +774,7 @@ void SessionBasic::Summary(KernelGraph *graph) {
return;
}
MS_EXCEPTION_IF_NULL(graph);
bool exist_summary = ExistSummaryNode(graph);
bool exist_summary = graph->summary_node_exist();
if (!exist_summary) {
return;
}