1. 17 5月, 2023 1 次提交
  2. 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
  3. 10 5月, 2023 1 次提交
    • add index_put api (#52886) · f3393f49
      傅剑寒 提交于
      * add index_put api
      
      * fix value broadcast in backward and add test case in static
      
      * add timeout=120s for index_put
      
      * add op_compat for index_put
      
      * add inplace index_put test
      
      * add test case when index tensor in indices is int32 when indices.size less than x.dims
      
      * add index_put api backward in cpu place
      
      * add backward test case
      
      * refactor code to delete some duplicated code
      
      * replace reshape with resize for decrease extra memcpy
      
      * add datatype flag in backward yaml
      
      * fix bug in documentation
      
      * Update python/paddle/tensor/manipulation.py
      
      ---------
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      f3393f49
  4. 09 5月, 2023 2 次提交
  5. 27 4月, 2023 1 次提交
  6. 01 4月, 2023 1 次提交
  7. 28 3月, 2023 1 次提交
  8. 20 3月, 2023 1 次提交
    • G
      Fluid clean move out fill constant (#49511) · c985b1ac
      GGBond8488 提交于
      * migrate fill_constant to paddle.tensor
      
      * move fill_constant to paddle.tensor and repalce the reference
      
      * add missing fill_constant replacement
      
      * fix typro
      
      * remove unused import fill_constant
      
      * fix zeros import error
      
      * fix circle import
      
      * fix layers.zeros
      
      * fix unitest
      
      * fix unitests
      
      * fix unitest
      
      * use paddle.full replace fill_constant in samplecode
      
      * fix sample code
      
      * recovery xpu test
      
      * recovery xpu test
      
      * fix circle import
      
      * fix utils import error
      
      * fix utils error
      
      * fix circle import
      
      * redo
      
      * fix circle import
      
      * fix prim fill constant import
      
      * fix type error
      
      * fix increase error
      
      * fix test error
      
      * fix fill_constant
      c985b1ac
  9. 17 3月, 2023 1 次提交
    • P
      【Hackathon 4 No.14】Add Polar to paddle (#50901) · eefe601c
      PommesPeter 提交于
      * added paddle.polar to paddle
      
      * added paddle.polar unitest
      
      * failed to use pytorch for evaluating results, and changed with numpy implementation
      
      * updated code style
      
      * updated __init__.py
      
      * updated code style
      
      * fixed unitest code
      
      * lkh test polar
      
      * polar add
      
      * fixed errors and optimized code
      
      * fixed error
      
      * optimized polor api
      
      * updated code style
      
      * updated code style
      
      ---------
      Co-authored-by: Ndiadestiny <1247889154@qq.com>
      eefe601c
  10. 15 3月, 2023 1 次提交
  11. 05 12月, 2022 1 次提交
  12. 25 10月, 2022 1 次提交
  13. 29 9月, 2022 1 次提交
    • Z
      [Hackathon No.18] 为 Paddle 新增 frexp API (#46401) · 1e2af54c
      Zheng_Bicheng 提交于
      * 之前的pr合并了大量错误代码,重新提交一份
      
      * 之前的pr合并了大量错误代码,重新提交一份
      
      * 修正格式问题
      
      * 改回原来的格式
      
      * 按照要求修改
      
      * 按照要求修改格式
      
      * 修复注释的问题
      
      * 更新格式
      
      * 测试自动格式化
      
      * 修正英文注释
      
      * fix docs build error
      
      * pre-commit
      
      * for docs build
      
      * for docs build
      
      * 修复mantissa计算错误的bug
      
      * 修复误判exponent可能存在负数,导致计算量增加的情况
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      1e2af54c
  14. 09 9月, 2022 1 次提交
  15. 31 8月, 2022 2 次提交
  16. 30 8月, 2022 1 次提交
  17. 11 8月, 2022 1 次提交
  18. 03 8月, 2022 1 次提交
  19. 29 7月, 2022 1 次提交
  20. 10 6月, 2022 1 次提交
  21. 05 6月, 2022 1 次提交
    • S
      【code format check upgrade】 step2:yapf (#42944) · a072fca8
      Sing_chan 提交于
      * use yapf to format all python file
      
      * yapf exclude two unittests file for they rely on writing and reading file, and format will break them
      
      * disable diff_py_file because too many diff files cause command following failed
      a072fca8
  22. 30 5月, 2022 1 次提交
    • T
      【PaddlePaddle Hackathon 2】15 新增 API Nanmedian (#42385) · f87fa3c0
      thunder95 提交于
      * nanmedian op
      
      * 修改cuda kernel的bug
      
      * 修复count_if在其他硬件平台不兼容
      
      * 修复某些cpu硬件不兼容
      
      * 修复某些cpu硬件不兼容
      
      * 修复isnan判断
      
      * 兼容numpy低版本不支持全部nan的情况
      
      * 兼容numpy低版本不支持全部nan的情况
      
      * fix code example
      
      * fix api comment error
      
      * 修改反向传播逻辑以及c++处理逻辑
      
      * 完成修改建议
      
      * typo pre_dim
      
      * update en docs, test=document_fix
      
      * remove numpy in en doc, test=document_fix
      
      * add r,test=document_fix
      
      * 添加api到all
      
      * follow advice from chenwhql
      f87fa3c0
  23. 10 5月, 2022 1 次提交
  24. 09 5月, 2022 1 次提交
    • L
      【PaddlePaddle Hackathon 2】3、为 Paddle 新增 corrcoef(皮尔逊积矩相关系数) API (#40690) · 95a502a2
      liqitong-a 提交于
      * corrcoef commit
      
      * corrcoef commit
      
      * Update test_corr.py
      
      * Update linalg.py
      
      * Update test_corr.py
      
      * Update test_corr.py
      
      * Update test_corr.py
      
      * Update test_corr.py
      
      * Update test_corr.py
      
      * Update test_corr.py
      
      * Update test_corr.py
      
      * Update test_corr.py
      
      * Update test_corr.py
      
      * Update test_corr.py
      
      * Update linalg.py
      
      * Update linalg.py
      
      * Update linalg.py
      
      * Update test_corr.py
      
      * Update test_corr.py
      
      * Update test_corr.py
      
      * Update test_corr.py
      
      * Update test_corr.py
      
      * Update test_corr.py
      
      * Update test_corr.py
      
      * Update test_corr.py
      
      * Update test_corr.py
      
      * Update test_corr.py
      
      * Update test_corr.py
      
      * Update test_corr.py
      
      * Update test_corr.py
      95a502a2
  25. 15 4月, 2022 1 次提交
  26. 12 4月, 2022 1 次提交
  27. 06 4月, 2022 1 次提交
    • L
      【PaddlePaddle Hackathon 2】8、为 Paddle 新增 nanmean API (#40472) · 1d43e2da
      Li-fAngyU 提交于
      * Update __init__.py
      
      * Update math.py
      
      * Create test_nanmean_api.py
      
      * Update __init__.py
      
      * Update __init__.py
      
      * Update math.py
      
      * Update test_nanmean_api.py
      
      * Update __init__.py
      
      * Update math.py
      
      * Update test_nanmean_api.py
      
      * Update test_nanmean_api.py
      
      * Update test_nanmean_api.py
      
      * Update math.py
      
      * Update test_nanmean_api.py
      
      * Update math.py
      
      Update the nanmean example code
      
      * Update math.py
      
      * Update math.py
      
      * Update math.py
      
      Remove redundant code in nanmean
      
      * Update math.py
      
      change default keepdim = False
      
      * Update test_nanmean_api.py
      
      add nan into self.x
      
      * Update test_nanmean_api.py
      
      rerun CI check
      
      * Update test_nanmean_api.py
      
      * update code of nanmean in python/paddle/tensor/math.py and test_nanmean_api.py
      
      * Update test_nanmean_api.py
      
      update code format
      
      * Update test_nanmean_api.py
      
      update code format
      
      * Update test_nanmean_api.py
      
      add check grad code.
      
      * Update math.py
      
      update nanmean's describe of Args x
      
      * Update test_nanmean_api.py
      
      update format and release the test_case(self.x, keepdim=True) in check grad code.
      
      * Update test_nanmean_api.py
      
      Update gradient checking method
      
      * Update test_nanmean_api.py
      
      update code format
      
      * Update test_nanmean_api.py 
      
      Update code format and copyright in test_nanmean_api.py
      
      * Update math.py
      
      update arguments describe and code example
      
      * Update math.py
      
      修改了nanmean的axis参数的文档描述。
      
      * Update math.py
      
      updata nanmean's sample code (:name: code-example1)
      
      * Update math.py
      
      修改nanmean的example code 错误
      
      * Update math.py
      
      update example code
      
      * Update math.py
      
      update example code of nanmean
      1d43e2da
  28. 31 12月, 2021 4 次提交
  29. 30 12月, 2021 2 次提交
  30. 28 12月, 2021 3 次提交
  31. 24 12月, 2021 2 次提交