1. 10 5月, 2023 1 次提交
  2. 09 5月, 2023 2 次提交
    • zhouweiwei2014's avatar
      [cherry-pick 2.5][Zero-Dim] support paddle.sum/mean/loss api output 0D (#53601) · b6e23774
      zhouweiwei2014 提交于
      * [Zero-Dim] fix functool.reduce more safe with intial value, to support empty list (#53182)
      
      * [Zero-Dim] support 0d tensor for shape and squeeze onednn kernel (#52832)
      
      * support 0d tensor for shape and squeeze onednn kernel
      
      * set python api for shape op ut
      
      * [Zero-Dim] distributed scatter/all_to_all support input 0D tensor (#53186)
      
      * [Zero-Dim] Support paddle.sum/mean/loss api output 0D,test=allcase (#52739)
      
      * [CINN Support 0D-Tensor] CINN supports 0D-Tensor with trick temporarily (#53382)
      
      * [CINN Support 0D-Tensor] CINN supports 0D-Tensor with trick temporarily
      
      * Add unittest
      
      * [CINN Support 0D-Tensor] CINN hack squeeze2 with trick temporarily (#53454)
      
      * fix test_autograd_dynamic (#53473)
      Co-authored-by: Nzhwesky2010 <zhouwei25@baidu.com>
      
      ---------
      Co-authored-by: NYangQun <qun.yang@intel.com>
      Co-authored-by: NHongyuJia <jiahongyu@baidu.com>
      Co-authored-by: NHydrogenSulfate <490868991@qq.com>
      b6e23774
    • 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
  3. 24 4月, 2023 1 次提交
  4. 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
  5. 12 4月, 2023 1 次提交
    • R
      [Move Test] xpu (#52661) · 9a7c83bd
      RedContritio 提交于
      * move python/paddle/fluid/tests/unittests/xpu to test/xpu
      
      * update CMakeLists.txt
      
      * remove xpu in fluid/tests/unittests/
      
      * add path to op_test_xpu
      
      * fix incorrect path
      
      * update test script
      
      * fix test_adadelta_op_xpu error
      9a7c83bd
  6. 27 3月, 2023 1 次提交
  7. 01 3月, 2023 1 次提交
    • Y
      [Zero-Dim] Add Expand/Expand_as/Top_k for XPU to support Zero Dim Input. (#50947) · 226b4a95
      yunyaoXYY 提交于
      * Add unitest from shilong
      
      * Add kernel code from shilong
      
      * fix codestyle
      
      * add broadcast_shape test
      
      * fix unitest
      
      * fix unitests
      
      * fix unitest
      
      * add 0D grad support
      
      * add 0D grad support
      
      * add 0D grad support
      
      * fix 0D tensor
      
      * fix 0D
      
      * fix xpu 0D
      
      * fix expand kernel
      
      * fix xpu expand
      
      * Fix 0D kernel
      
      * fix 0D
      
      * fix 0D
      
      * fix 0D
      
      * fix 0D
      
      * fix XPU top_k
      
      * cancel the modify of xpu
      
      * add XPU 0D tensor
      
      * fix 0D
      226b4a95
  8. 17 2月, 2023 1 次提交
  9. 08 2月, 2023 1 次提交
  10. 07 2月, 2023 1 次提交
  11. 06 2月, 2023 1 次提交
  12. 01 2月, 2023 1 次提交
    • Z
      [Zero-Dim] Fix 0-dim tensor for arg_min_max op. (#49570) · e4e94a88
      Zhong Hui 提交于
      * fix 0-d tensor for arg_min_max op.
      
      * fix xpu.
      
      * fix zero dims
      
      * fix
      
      * Update arg_min_max_kernel.cc
      
      * Update arg_min_max_kernel.cc
      
      * Update arg_min_max_kernel.cc
      
      * Update test_zero_dim_tensor.py
      
      * Update test_zero_dim_tensor_xpu.py
      
      * Update test_zero_dim_tensor.py
      
      * Update arg_min_max_kernel.cc
      
      * Update arg_min_max_kernel.cc
      
      * Update arg_min_max_kernel.cc
      e4e94a88
  13. 31 1月, 2023 2 次提交
  14. 18 1月, 2023 3 次提交
  15. 17 1月, 2023 3 次提交
  16. 16 1月, 2023 1 次提交
  17. 13 1月, 2023 4 次提交
  18. 11 1月, 2023 1 次提交
  19. 10 1月, 2023 1 次提交
  20. 06 1月, 2023 2 次提交
  21. 05 1月, 2023 1 次提交
  22. 03 1月, 2023 1 次提交
  23. 29 12月, 2022 1 次提交
  24. 16 12月, 2022 1 次提交
  25. 07 12月, 2022 1 次提交
  26. 03 12月, 2022 1 次提交
  27. 29 11月, 2022 1 次提交
  28. 25 11月, 2022 1 次提交
  29. 24 11月, 2022 1 次提交
  30. 15 11月, 2022 1 次提交