“26b393f9112beee5c2f4a2b16913d9dca7eafc9f”上不存在“git@gitcode.net:paddlepaddle/Paddle.git”
  • F
    【cherry-pick】【BugFix】fix err of api `to_tensor`, which caused by numpy version... · 73e6bbba
    feifei-111 提交于
    【cherry-pick】【BugFix】fix err of api `to_tensor`, which caused by numpy version update (#53534) (#53624)
    
    * 【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
    
    * fix old test which is not correct when 0-D tensor is usable
    73e6bbba
creation.py 88.3 KB