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

Merge pull request !2679 from wenchunjiang/fix_if_cascad_if_bug
This commit is contained in:
mindspore-ci-bot 2020-06-29 09:00:34 +08:00 committed by Gitee
commit 48b4a10f39
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,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);
}