1. 11 5月, 2023 1 次提交
    • 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
  2. 10 5月, 2023 2 次提交
    • [cherry pick] add index_put api (#53652) · 4d16cd63
      傅剑寒 提交于
      This PR add index_put api for paddle
      4d16cd63
    • Z
      [Cherry-pick 2.5][Zero-Dim] paddle.static.data, squeeze, unbind, unstack,... · fecea4c5
      zqw_1997 提交于
      [Cherry-pick 2.5][Zero-Dim]  paddle.static.data, squeeze, unbind, unstack, gather_nd and einsum support 0D (#53602)
      
      * add test cases, test=allcase
      
      * fix test cases, test=allcase
      
      * fix test cases, test=allcase
      
      * assert_allclose, test=allcase
      
      * 1e-5 to 1e-4, test=allcase
      
      * change rtol from 1e-4 to 1e-3, test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * fix test cases, test=allcase
      
      * fix test cases, test=allcase
      
      * modify the test_squeeze to not use Tensor type axis, test=allcase
      
      * add grad check for unbind and unstack, test=allcase
      
      * check for squeeze axis tensor type, test=allcase
      
      * fix bug, test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      fecea4c5
  3. 09 5月, 2023 2 次提交
    • Z
      [Cherry-pick 2.5][Zero-Dim] paddle.to_tensor support 0D (#53599) · 2aefc45b
      zqw_1997 提交于
      * fix doc erros, test=allcase
      
      * conflict
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * fix doc erros, test=allcase
      
      * fix the to_tensor error
      2aefc45b
    • J
      [Cherry-pick] zero-dim: support 0-D for getitem/setitem (#53441) · 767e7b3f
      JYChen 提交于
      * support 0-D output and 0-D as indice in __getitem__
      
      * fix tests
      
      * fix inference and UT
      
      * add unittest for setitem
      
      * fix xpu test
      
      * fix xpu 0-d
      
      * fix right value is 0d and index is List/Tensor
      
      * Hack__getitem__ from 0-d to 1-d with FLAGS_set_to_1d
      
      * change PHI_DECLARE_xxx to DECLARE_xxx since the change not merged to 2.5
      
      * hack 1-D tensor to Scalar
      
      * throw warning at __getitem__, not slice_utils
      767e7b3f
  4. 06 5月, 2023 1 次提交
  5. 05 5月, 2023 1 次提交
  6. 27 4月, 2023 1 次提交
    • W
      [Cherry-Pick]Support output 0D for... · f84ac449
      wangfengsheng1999 提交于
      [Cherry-Pick]Support output 0D for is_empty/as_complex/inner/dot/rank/tensordot/squeeze_/static.accuracy/static.auc/metric.accuracy (#53199)
      
      * support output 0D for is_empty/as_complex/inner/dot/rank/tensordot/squeeze_/static.accuracy/static.auc/metric.accuracy
      
      * test_dot_py
      
      * test_dot_py
      f84ac449
  7. 24 4月, 2023 1 次提交
  8. 23 4月, 2023 1 次提交
    • J
      Cherry pick getitem/setitem 0d (#53125) · a79c04f3
      JYChen 提交于
      * support 0-D output and 0-D as indice in __getitem__
      
      * fix tests
      
      * fix inference and UT
      
      * add unittest for setitem
      
      * fix xpu test
      
      * fix xpu 0-d
      a79c04f3
  9. 21 4月, 2023 1 次提交
  10. 20 4月, 2023 1 次提交
  11. 14 4月, 2023 5 次提交
  12. 13 4月, 2023 2 次提交
  13. 12 4月, 2023 1 次提交
  14. 11 4月, 2023 3 次提交
  15. 10 4月, 2023 2 次提交
  16. 09 4月, 2023 1 次提交
  17. 06 4月, 2023 3 次提交
  18. 04 4月, 2023 1 次提交
  19. 03 4月, 2023 1 次提交
  20. 01 4月, 2023 1 次提交
  21. 31 3月, 2023 2 次提交
  22. 30 3月, 2023 6 次提交