!839 fixed issue of repeated profile subscription

From: @li-lei0106
Reviewed-by: @xchu42,@ji_chen
Signed-off-by: @ji_chen
pull/839/MERGE
mindspore-ci-bot 4 years ago committed by Gitee
commit 103aa22616

@ -734,7 +734,6 @@ Status DavinciModel::ReportProfilingData() {
} }
ProfilingManager::Instance().ReportProfilingData(model_id_, GetTaskDescInfo(), compute_graph_desc_info); ProfilingManager::Instance().ReportProfilingData(model_id_, GetTaskDescInfo(), compute_graph_desc_info);
GE_CHK_STATUS(SinkModelProfile(), "Sink model profiler failed."); GE_CHK_STATUS(SinkModelProfile(), "Sink model profiler failed.");
op_list_.clear();
return SUCCESS; return SUCCESS;
} }

Loading…
Cancel
Save