forked from mindspore-Ecosystem/mindspore
!2302 improve summary performance
Merge pull request !2302 from Margaret_wangrui/r0.3
This commit is contained in:
commit
24d61337c0
|
@ -774,7 +774,7 @@ void SessionBasic::Summary(KernelGraph *graph) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
MS_EXCEPTION_IF_NULL(graph);
|
MS_EXCEPTION_IF_NULL(graph);
|
||||||
bool exist_summary = ExistSummaryNode(graph);
|
bool exist_summary = graph->summary_node_exist();
|
||||||
if (!exist_summary) {
|
if (!exist_summary) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue