1. 14 6月, 2022 1 次提交
    • Z
      Fix numpy 1.20+ deprecation warnings (#42929) · 90cf2299
      zlsh80826 提交于
      * Replace np.bool/np.bool8 with np.bool_
      
      * Replace np.object with np.object_
      
      * Replace np.complex with np.complex128
      
      * Replace np.float with np.float64
      
      * Replace np.int with np.int_
      
      * Rerun pre-commit for newer pre-commit configuration
      
      * Use builtin bool instead of np.bool_ based on the context
      90cf2299
  2. 13 6月, 2022 1 次提交
    • L
      Fix some en docs of paddle. and paddle.nn.initialize. (#42916) · 4f006636
      Liyulingyue 提交于
      * calculate_gain; test=document_fix
      
      * Constant; test=document_fix
      
      * KaimingNormal; test=document_fix
      
      * KaimingUniform; test=document_fix
      
      * randint; test=document_fix
      
      * squeeze;test=document_fix
      
      * argmin; test=document_fix
      
      * argmin; test=document_fix
      
      * triu; test=document_fix
      
      * add_n;test=document_fix
      
      * unique; test=document_fix
      
      * topk; test=document_fix
      
      * squeeze;test=document_fix
      
      * randint;test=document_fix
      
      * argmin; test=document_fix
      
      * constant; test=document_fix
      
      * constant; test=document_fix
      
      * KaimingNormal; test=document_fix
      
      * kaiming; test=document_fix
      
      * unique; test=document_fix
      4f006636
  3. 11 6月, 2022 1 次提交
  4. 10 6月, 2022 1 次提交
  5. 07 6月, 2022 1 次提交
  6. 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
  7. 01 6月, 2022 3 次提交
  8. 31 5月, 2022 2 次提交
  9. 30 5月, 2022 2 次提交
    • 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
    • A
      [fix] addmm supports 1-d input (#42959) · 849d937b
      Aganlengzi 提交于
      * addmm supports 1-d input
      
      * fix coverage
      
      * fix
      
      * more ut
      849d937b
  10. 27 5月, 2022 1 次提交
  11. 25 5月, 2022 1 次提交
    • X
      [EinsumOp] Optimize the backward speed of EinsumOp (#42663) · 71b046cd
      xiongkun 提交于
      * change logic for optimize
      
      * modifty
      
      * optimize the backward speed of EinsumOp
      
      * add cache optimizer for einsum op
      
      * EinsumOp: fix new dygraph mode error
      
      * fix bug
      
      * change Cache->InnerCache
      
      * fix code
      
      * fix
      
      * add nan inf utils for einsum op
      
      * add as_extra
      
      * Compatible with v2.3 EinsumOp
      
      * remove dispensable
      71b046cd
  12. 23 5月, 2022 3 次提交
  13. 20 5月, 2022 1 次提交
    • X
      [Hackathon No.5] tril_indices OP (#41639) · 75db5b86
      xiaoguoguo626807 提交于
      * add tril_indices cpu kernal
      
      * modify tril_indice cpu op
      
      * modify bug
      
      * modify bug
      
      * add tril_indices python api
      
      * add tril_indices python api
      
      * resolve conflict
      
      * add tril_indices test
      
      * modify details
      
      * add tril_indices.cu
      
      * pythonapi pass
      
      * save tril_indices
      
      * CPU tril_indices pass
      
      * delete vlog
      
      * modify test_tril_indices_op.py
      
      * delete tril_indices_kernel.cc.swp
      
      * delete tril_indice.cu
      
      * modify code style
      
      * add newline in creation.py
      
      * modify creation.py linux newline
      
      * delete annotation
      
      * check code style
      
      * check .py style add final_state??
      
      * modify code style
      
      * add gpu_tril_indices
      
      * modify gpu_compiled_juage
      
      * modify gpu judge
      
      * code style
      
      * add test example
      
      * modify english document
      
      modify english document
      
      modify english document
      
      modify document
      
      modify document
      
      * modify pram name
      
      * modify pram name
      
      * modify pram
      
      * reduce test ex
      75db5b86
  14. 19 5月, 2022 1 次提交
    • C
      Fix API Docs bug (#42816) · 9f4d342c
      Chen Long 提交于
      * update readme test=document_fix
      
      * fix api docs;test=document_fix
      
      * update logic.py;test=document_fix
      
      * update docs;test=document_fix
      9f4d342c
  15. 18 5月, 2022 2 次提交
  16. 17 5月, 2022 2 次提交
  17. 16 5月, 2022 2 次提交
  18. 13 5月, 2022 1 次提交
  19. 12 5月, 2022 1 次提交
  20. 10 5月, 2022 1 次提交
  21. 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
  22. 29 4月, 2022 2 次提交
  23. 26 4月, 2022 5 次提交
  24. 21 4月, 2022 2 次提交
  25. 20 4月, 2022 1 次提交
    • B
      【PaddlePaddle Hackathon 2】9、为 Paddle 新增 logspace API (#41261) · a3c50c42
      BrilliantYuKaimin 提交于
      * 增加logspace的算子描述
      
      * 增加logspace的形状推断
      
      * 增加logspace核函数实现
      
      * 在python中增加logspace接口
      
      * 增加logspace单测
      
      * 增加logspace
      
      * Update logspace_kernel.cu
      
      * Update logspace_op.cc
      
      * 调整代码格式
      
      * Update doc of logspace
      
      * Update tensor.py
      
      * Update logspace_op.cc
      
      * Update logspace_kernel.cc
      
      * Update logspace_kernel.cu
      
      * Update test_logspace.py
      
      * 调整 logspace 的位置
      
      * 调整代码格式
      a3c50c42