Browse Source

!2620 fix issue [controlflow] if Cascad an if, raise error

Merge pull request !2620 from wenchunjiang/fix_control_sink_bug
tags/v0.6.0-beta
mindspore-ci-bot Gitee 5 years ago
parent
commit
df1c2a69f1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ccsrc/session/ascend_control_parser.cc

+ 1
- 1
mindspore/ccsrc/session/ascend_control_parser.cc View File

@@ -263,7 +263,7 @@ NotNull<CNodePtr> AscendControlParser::ProcessKernelGraph(NotNull<KernelGraphPtr
RecurseSwitchLayer(kg, NOT_NULL(cnode), GetNextRealKernel(nodes, i + 1), memo);
}
}
kg->SetExecOrderByDefault();
MS_LOG(INFO) << "End KernelGraph process: " << kg->ToString();
return NOT_NULL(start_label);
}


Loading…
Cancel
Save