forked from mindspore-Ecosystem/mindspore
!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:
commit
df1c2a69f1
|
@ -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…
Reference in New Issue