Browse Source

!26018 Avoid print duplicate error msg while exception.

Merge pull request !26018 from zhangzhaoju/master_dup_log
tags/v1.6.0
i-robot Gitee 4 years ago
parent
commit
302b797747
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ccsrc/debug/anf_ir_utils.cc

+ 1
- 1
mindspore/ccsrc/debug/anf_ir_utils.cc View File

@@ -526,7 +526,7 @@ void AnfExporter::OutputCNodes(std::ofstream &ofs, const std::vector<AnfNodePtr>
if (func_graph == nullptr) {
return;
}
MS_LOG_TRY_CATCH_SCOPE;
int idx = 1;
std::map<AnfNodePtr, int> apply_map;
for (const AnfNodePtr &node : nodes) {


Loading…
Cancel
Save