forked from OSSInnovation/mindspore
!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:
commit
48b4a10f39
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue