[[Dy2Static]]convert for stmt and support variable loaded and created in loop(#24901)
* Move function 'convert_len' to file convert_operators.py * Support that for statements are transformed to while statements. * Fix bug: raise None -> return None. * Support variable loaded and created in loop. * Use int64 in Py2 and Py3 in function to_static_variable.
Showing
想要评论请 注册 或 登录