1. 02 8月, 2023 1 次提交
  2. 27 7月, 2023 2 次提交
  3. 19 7月, 2023 1 次提交
    • J
      disable __setitem__ in static mode & add API paddle.static.setitem with dy2st strategy (#53682) · 7849d58d
      JYChen 提交于
      * add paddle.static.setitem
      
      * add some help doc
      
      * support setitem
      
      * support machanism
      
      * add more unittest
      
      * remove usless code
      
      * raise error in static setitem
      
      * fix d2s UT
      
      * remove static only for both-used code
      
      * fix bool set_value in static, fix set_value_op UT
      
      * fix unittests
      
      * [May case some error]: remove inplace-version check
      
      * add two test case for dy2st
      
      * fix function in vision
      
      * fix dy2st setitem support, refine UT case
      
      * fix slice in static_mode
      
      * add ParametersMap
      
      * remove pop
      
      * modify place
      
      * [fix]: variable is also a tensor
      
      * rewrite some ut & remove slicetransformer in dy2st
      
      * solve error in static-mode
      
      * fix ut
      
      * return a result for set_array_write
      
      * fix test_set_value_op_xpu
      
      * code is different in dynamic / static mode
      
      ---------
      Co-authored-by: NAurelius84 <zhangliujie@baidu.com>
      Co-authored-by: NNotHaozi <zhangmenghao@baidu.com>
      7849d58d
  4. 18 7月, 2023 1 次提交
    • G
      batch add inpalce api (#55078) · 19302938
      GGBond8488 提交于
      * batch add inpalce api
      
      * fix inplace fn generate
      
      * add test for  new inpalce api
      
      * fix typro
      
      * fix typro
      
      * fix typro
      
      * fix test error
      
      * fix atan2
      
      * remove atan2
      
      * auto genereate inpalce api
      
      * fix inplace generate fn error
      
      * fix windows error
      
      * fix test error
      
      * fix test error
      
      * fix windows ci error
      
      * fix test error
      
      * fix test_error
      
      * fix test error
      
      * fix eigen aliasing error in inplace
      
      * remove elementwise_pow inplace
      
      * fix doc error
      
      * fix test error
      19302938
  5. 17 7月, 2023 1 次提交
  6. 11 7月, 2023 1 次提交
  7. 05 7月, 2023 1 次提交
  8. 03 7月, 2023 1 次提交
    • L
      【PaddlePaddle Hackathon 4】No.63 : add lerp bf16 support (#53078) · ce31a72e
      LoneRanger 提交于
      * add lerp bf16 support
      
      * fix bug
      
      * Update test_lerp_op.py
      
      modify the input dtype
      
      * modify the test_lerp_op.py
      
      * Update test_lerp_op.py
      
      * fix bug of import
      
      * add user_defined_grads
      
      * Update test_lerp_op.py
      
      * fix bug of grad
      
      * fix bug of grad
      
      * fix bug of grad
      
      * add the check for bfloat16 dtype
      ce31a72e
  9. 28 6月, 2023 1 次提交
    • G
      【Inplace】Add copy for inplace (#54683) · 98debaa8
      GGBond8488 提交于
      * add clone for inpalce
      
      * fix name
      
      * add inplace pow
      
      * fix typro
      
      * add note
      
      * fix typro
      
      * fix typro
      
      * fix bug
      
      * fix test error
      
      * add type error test
      
      * adjust indentation
      98debaa8
  10. 16 6月, 2023 1 次提交
  11. 14 6月, 2023 1 次提交
  12. 13 6月, 2023 1 次提交
  13. 12 6月, 2023 1 次提交
    • H
      log/Log10/log2/log1p support int32/int64/float16/bfloat16 forward (#54089) · 2ddd0473
      Hui Zhang 提交于
      * fix for log xxx
      
      * add int32/int64 for cpu/gpu; add float16/bfloat16 for cpu forward
      
      * fix docstring
      
      * fix bug
      
      * fix bugs
      
      * fix bugs
      
      * fix bugs
      
      * fix bugs
      
      * fix bug
      
      * using cast
      
      * fix test
      
      * fix api
      
      * fix other bugs
      
      * fix ci bug for not using dygraph guard
      
      * add bfloat16 test
      
      * fix ut
      
      * bf16
      2ddd0473
  14. 09 6月, 2023 1 次提交
  15. 07 6月, 2023 1 次提交
  16. 05 6月, 2023 1 次提交
  17. 02 6月, 2023 1 次提交
  18. 23 5月, 2023 1 次提交
  19. 22 5月, 2023 1 次提交
    • M
      [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode() (#53856) · 3794d171
      Meteor Liu 提交于
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * fixed cyclic reference that caused patial import
      
      * fixed bad change
      
      * fix bad import
      
      * fix bad import
      
      * fix bad import
      
      * fix ut failed caused by change in_dynamic_mode
      
      * fix ut failed caused by change in_dynamic_mode
      
      * fixed usage of in_dynamic_mode() or in_dygraph_mode()
      
      * revert python3 to python in .pre-commit-config.yaml
      
      * fix merge conflicts
      3794d171
  20. 18 5月, 2023 1 次提交
  21. 17 5月, 2023 1 次提交
  22. 16 5月, 2023 1 次提交
  23. 12 5月, 2023 1 次提交
    • P
      【Hackathon 4 No.20】Add i0 / i0e to paddle (#52058) · ce256f75
      PommesPeter 提交于
      * added base code for i0 and i0e
      
      * added grad base code for i0 and i0e
      
      * added i0 and i0e python code
      
      * added ops and backward yaml config
      
      * added i0 and i0e cpu kernel, but not test.
      
      * added i0 and i0e code and unitest files
      
      * added test files
      
      * added i0/i0e gpu implementation code
      
      * updated code style
      
      * updated code style
      
      * fixed unitests code
      
      * updated i0 with eigen3
      
      * fixed bug and added more test cases
      
      * refactor: fixed static graph bug
      
      * refactor: removed i0 and i0e from op_compat
      
      * refactor: updated code style
      
      * refactor: updated op_compat.yaml
      
      * refactor: updated op_compat.yaml
      
      * refactor: fixed op name mapping and optimize unittest case
      
      * refactor: manually implement i0 / i0e
      
      * refactor: added grad kernel for i0 / i0e,didn't finish
      
      * Update math.py
      
      * refactor: added equation to doc in English and added comments for computing i0 / i0e gradient
      
      * refactor: removed eigen implementation
      
      * refactor: finished i0 / i0e cpu and gpu op
      
      * refactor: updated code style
      
      * fix: find  a bug but not fix
      
      * fix: incorrect unittest cases
      
      * update: updated code style and remove my file
      
      * update: updated unittest case
      
      * fix: fixed sign error
      
      * fix: fixed mistakes when merging
      
      * refactor: updated code style
      
      * refactor: remove unused code
      
      * refactor: updated code style
      ce256f75
  24. 09 5月, 2023 1 次提交
  25. 05 5月, 2023 1 次提交
  26. 27 4月, 2023 1 次提交
  27. 26 4月, 2023 1 次提交
  28. 25 4月, 2023 2 次提交
  29. 24 4月, 2023 1 次提交
    • Z
      [Zero-Dim] Support output 0D for to_tensor. (#52741) · 81fb7df2
      zqw_1997 提交于
      * 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
      
      * test=allcase
      
      * fix doc erros, test=allcase
      81fb7df2
  30. 22 4月, 2023 1 次提交
    • W
      [Zero-Dim] support output 0D for... · b406a7db
      wangfengsheng1999 提交于
      [Zero-Dim] support output 0D for is_empty/as_complex/inner/dot/rank/tensordot/squeeze_/static.accuracy/static.auc/metric.accuracy, test=allcase (#52850)
      
      * [Zero-Dim] support output 0D for is_empty/as_complex/, test=allcase
      
      * [Zero-Dim] support output 0D for is_empty/as_complex/, test=allcase
      
      * add test case
      
      * modify dot/metric.accuracy/static.accuracy/static.auc
      
      * modfiy inner/tensordot bug
      
      * test 9 api
      
      * [Zero-Dim] support output 0D for is_empty/as_complex/inner/dot/rank/tensordot/squeeze_/static.accuracy/static.auc/metric.accuracy, test=allcase
      
      * fix bug
      
      * support output 0D for is_empty/as_complex/inner/dot/rank/tensordot/squeeze_/static.accuracy/static.auc/metric.accuracy
      
      * code style
      
      * fix bug
      
      * fix test_dot_op bug
      
      * fix accuracy bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * codestyle
      
      * fix dot bug
      
      * fix dot bug
      
      * fix dot bug
      
      * code style
      
      * fix dot bug
      
      * fix dot bug
      
      * fix dot bug
      
      * fix dot bug
      
      * fix dot bug
      
      * fix dot bug
      
      * modify code
      b406a7db
  31. 21 4月, 2023 1 次提交
  32. 19 4月, 2023 1 次提交
  33. 14 4月, 2023 4 次提交
  34. 13 4月, 2023 2 次提交