[API] fixed a bug in to_tensor which occurs when input is complex and improved code style (#45305)
* fixed1 * fix 2 * fixre * test complext var * delete logic no needed * fix to_tensor_static * code style * del
Showing
想要评论请 注册 或 登录
* fixed1 * fix 2 * fixre * test complext var * delete logic no needed * fix to_tensor_static * code style * del