[Dy2Static]Support return variable created in only one of If.body or If.orelse (#24841)
* Support return variable in only one of if body or else. * remove after_visit in IfElseTransformer. * Modify the result of get_name_ids in test_ifelse_basic.py * Add unittest to test the new case. * Modify code according to reviews.revert-24981-add_device_attr_for_regulization
parent
0494239b1f
commit
5ea82e8a45
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue