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

Merge pull request !2620 from wenchunjiang/fix_control_sink_bug
This commit is contained in:
mindspore-ci-bot 2020-06-27 20:36:36 +08:00 committed by Gitee
commit df1c2a69f1
1 changed files with 1 additions and 1 deletions

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);
}