1. 28 8月, 2023 2 次提交
    • G
      【inplace api】Batch add inplace api gt_, ge_, lt_, le_, eq_, not_equal_,... · c5fc413a
      GGBond8488 提交于
      【inplace api】Batch add inplace api gt_, ge_, lt_, le_, eq_, not_equal_, logical_and_, logical_or_, logical_xor_, logical_not_, divide_, floor_divide_, bitwise_and_ , bitwise_or_, bitwise_xor_, bitwise_not_ (#55509)
      
      * tmp commit
      
      * add atan2
      
      * add inplace api
      
      * fix error
      
      * add inpalce divide
      
      * add inplace api
      
      * add more inplace
      
      * add more inpalce
      
      * fix logical_not error
      
      * support sinh and cosh in cpu
      
      * support asin, acos, atan, asinh, acosh, atanh in cpu
      
      * fix typro
      
      * fix typro
      
      * mv out atan2 ldexp
      
      * mv out atan2 ldexp
      
      * support sinh and cosh in gpu
      
      * support asin, acos, atan, asinh, acosh, atanh in gpu
      
      * fix ge error
      
      * fix dygraph commpare error
      
      * fix dygraph commpare error
      
      * check complex in python
      
      * fix cast inpalce error
      
      * open inplace test
      
      * fix ops.yaml error
      
      * mv cast inpalce to python
      
      * fix coverage ci
      
      * add last inplace
      
      * fix inplace error
      
      * fix cast error
      
      * fix error
      
      * add nan_to_num_
      
      * fix typro
      
      * fix sparse cast error
      
      * remove gpu 4
      
      * fix static cast error
      
      * tmp commit
      
      * add atan2
      
      * add inplace api
      
      * fix error
      
      * add inpalce divide
      
      * add inplace api
      
      * add more inplace
      
      * add more inpalce
      
      * fix logical_not error
      
      * fix typro
      
      * fix typro
      
      * mv out atan2 ldexp
      
      * mv out atan2 ldexp
      
      * fix ge error
      
      * fix dygraph commpare error
      
      * fix dygraph commpare error
      
      * fix cast inpalce error
      
      * open inplace test
      
      * fix ops.yaml error
      
      * mv cast inpalce to python
      
      * fix coverage ci
      
      * add last inplace
      
      * fix inplace error
      
      * fix cast error
      
      * fix error
      
      * add nan_to_num_
      
      * fix typro
      
      * fix sparse cast error
      
      * remove gpu 4
      
      * fix static cast error
      
      * fix cast error
      
      * fix
      
      * Revert "check complex in python"
      
      This reverts commit c822064261d774dd58ad46a4f90ba8b467700a05.
      
      * add renorm , fix error
      
      * add coverage
      
      * fix cumsum inpalce version error
      
      * add cast inpalce impl
      
      * rm test.log
      
      * fix multiply_dyfunction and add multiply_backward test
      
      * add and use is_same_tensor
      
      * fix typro
      
      * fix sone error
      
      * fix typro
      
      ---------
      Co-authored-by: NScotty <jmhgchn@gmail.com>
      Co-authored-by: NScotty <527407973@qq.com>
      c5fc413a
    • X
      [API Enhancement] No.1 support the any number of times in paddle.diff [used AI Studio] (#56681) · 39e8b023
      Xavier ZXY 提交于
      * Fix: The number of times to recursively compute the difference supports any number
      
      * Fix: use pre-commit to format code
      39e8b023
  2. 16 8月, 2023 1 次提交
  3. 09 8月, 2023 1 次提交
  4. 07 8月, 2023 2 次提交
  5. 02 8月, 2023 1 次提交
  6. 27 7月, 2023 2 次提交
  7. 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
  8. 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
  9. 17 7月, 2023 1 次提交
  10. 11 7月, 2023 1 次提交
  11. 05 7月, 2023 1 次提交
  12. 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
  13. 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
  14. 16 6月, 2023 1 次提交
  15. 14 6月, 2023 1 次提交
  16. 13 6月, 2023 1 次提交
  17. 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
  18. 09 6月, 2023 1 次提交
  19. 07 6月, 2023 1 次提交
  20. 05 6月, 2023 1 次提交
  21. 02 6月, 2023 1 次提交
  22. 23 5月, 2023 1 次提交
  23. 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
  24. 18 5月, 2023 1 次提交
  25. 17 5月, 2023 1 次提交
  26. 16 5月, 2023 1 次提交
  27. 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
  28. 09 5月, 2023 1 次提交
  29. 05 5月, 2023 1 次提交
  30. 27 4月, 2023 1 次提交
  31. 26 4月, 2023 1 次提交
  32. 25 4月, 2023 2 次提交
  33. 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
  34. 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
  35. 21 4月, 2023 1 次提交
  36. 19 4月, 2023 1 次提交