【BugFix】fix err of api `to_tensor`, which caused by numpy version update (#53534)
* fix * update code * pre-commit * remove scale check (0-D tensor is usable) * fix data dtype err * fix numpy default dtype diff * fix data dtype * fix data dtype * update * fix coverage
Showing
想要评论请 注册 或 登录