[Dy2stat] Support paddle.to_tensor with int, float, bool. (#32420)
paddle.to_tensor will be translated to paddle.assign in Dy2stat, however paddle.assign doesn't support int, float, bool. This PR added the supports.
Showing
想要评论请 注册 或 登录