[Dy2stat] Fix the bug that loop_body_func may return single element (#31806)
Our old `loop_body` function may return single element when `loop_vars` just contains only 1 element, which can cause bug. The key point of this PR is forcing `loop_body` functions always return tuple.
Showing
想要评论请 注册 或 登录