1. 28 7月, 2022 3 次提交
    • X
      migrate dirichlet kernel to phi (#44434) · 798a4eac
      Xiaoxu Chen 提交于
      * migrate dirichlet op kernel to phi
      
      * fix dirichlet sample memory leak
      798a4eac
    • C
      Move frame kernel to phi (#44615) · 28b4b2f7
      Charles-hit 提交于
      * Move frame OP to phi、add frame OP yaml config and supplement single test
      
      * add Header file of in_dygraph_mode
      
      * Modify variable name and FrameGradInferMeta multiplex UnchangedInferMeta
      
      * move seq2col to phi
      28b4b2f7
    • L
      [PHI] Move spectral_norm to phi (#44577) · 768e50c9
      Lin Manhui 提交于
      * Add kernel declarations
      
      * Copy kernel implementation code
      
      * Transfer implementation code
      
      * Fix: Move out_grad to first
      
      * Register new kernels
      
      * Remove old kernels
      
      * Move out_grad to last
      
      * Fix bugs
      
      * Transfer infermeta
      
      * Add yaml files
      
      * Add blank line
      
      * Fix code style
      
      * Optimize directory structure
      Co-authored-by: NBobholamovic <linmanhui@baidu.com>
      768e50c9
  2. 27 7月, 2022 3 次提交
  3. 26 7月, 2022 5 次提交
  4. 25 7月, 2022 1 次提交
  5. 22 7月, 2022 1 次提交
  6. 20 7月, 2022 4 次提交
  7. 19 7月, 2022 3 次提交
    • W
      [Phi]Move angle op to phi (#44393) · 547075e9
      WangZhen 提交于
      * Move angle op to phi
      
      * Replace mutable_data using Alloc
      
      * Remove some include
      
      * Try to fix windows ci error
      
      * include math.h to fix windows ci error
      
      * Fix kernel name
      
      * Move angle_grad infershape
      547075e9
    • F
      move eig operator from fluid to phi (#44398) · 3788f5e5
      freeliuzc 提交于
      * move eig operator from fluid to phi
      
      * add eig_grad unitest, upgrade IsComplexType() from fluid to phi
      3788f5e5
    • W
      [Phi] Migrate infermeta and add yaml for solve op (#44379) · 5dfb87d9
      Weilong Wu 提交于
      * migrate solve kernel to phi
      
      * re useless header file, fix a bug in grad_kernel_impl
      
      * add header file in need
      
      * add yaml for solve op
      
      * fix solve_sig.cc ArgumentMapping and update tests case
      
      * disable legacy dygraph check in op_test
      
      * rm solve_op.cc / solve_sig.cc and migrate yaml config
      
      * Update op_test.py
      
      disable legacy dygraph check when check_eager is True
      5dfb87d9
  8. 16 7月, 2022 1 次提交
    • W
      [Phi] Migrate solve kernel to phi (#44363) · c0a7830f
      Weilong Wu 提交于
      * draft version
      
      * draft version
      
      * draft version
      
      * migrate solve kernel to phi
      
      * polish
      
      * polish
      
      * re useless header file, fix a bug in grad_kernel_impl
      
      * add header file in need
      c0a7830f
  9. 15 7月, 2022 1 次提交
  10. 14 7月, 2022 1 次提交
  11. 13 7月, 2022 2 次提交
  12. 12 7月, 2022 3 次提交
  13. 07 7月, 2022 1 次提交
    • A
      [IPU] support dy2static for IPU merge code (#43770) · 6984fbca
      Allen Guo 提交于
      * feat(): dynamic_to_static support for ipu.
      
      * fix(): format fix.
      
      * fix format
      
      * fix cpplint error
      
      * use phi::errors
      
      * fix format
      
      * fix format
      
      * fix(): add api to restore patched function.
      
      * fix(): identity_loss uses cpu place as expected kernel type.
      
      * doc(): add IPU dy2static related docs.
      
      * fix(): combine test cases.
      
      * fix format
      
      * fix comment
      
      * fix format
      
      * apply comment
      
      * fix compiling
      
      * fix(): align docs.
      
      * fix(): fix identity_loss function docs.
      
      * fix(): adjust mean and sum in identity_loss.
      
      * fix(): minor docs.
      
      * move API to paddle.incubate.identity_loss
      
      * fix UT
      Co-authored-by: Nzhaorui chen <zhaoruic@graphcore.ai>
      6984fbca
  14. 27 6月, 2022 1 次提交
  15. 14 6月, 2022 1 次提交
    • X
      [ Make FLAGS_einsum_opt as default ] Einsum memory optimization (#43397) · 83abec60
      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
      
      * memory optimizer for einsum
      
      * update code
      83abec60
  16. 10 6月, 2022 1 次提交
  17. 09 6月, 2022 1 次提交
  18. 08 6月, 2022 1 次提交
  19. 05 6月, 2022 1 次提交
  20. 04 6月, 2022 1 次提交
  21. 01 6月, 2022 1 次提交
  22. 31 5月, 2022 2 次提交
    • T
      【PaddlePaddle Hackathon 2】16 新增 API RRelu (#41823) · 21e1d10f
      thunder95 提交于
      * rrelu逻辑部分
      
      * unregistered op kernel (unresolved)
      
      * commit before merge
      
      * 丰富测试用例
      
      * 修复rrelu-sig的bug
      
      * 修复cpu环境测试
      
      * 修改拼写错误
      
      * 修改code format
      
      * 尝试优化测试用例timeout的问题
      
      * 优化测试用例
      
      * 移除seed, 优化随机函数
      
      * update en doc for rrelu
      
      * fix rrelu en docs, test=document_fix
      
      * add paper link for en docs, test=document_fix
      
      * udpate en doc
      
      * add r,test=document_fix
      21e1d10f
    • Z
      add embedding yaml (#43029) · 2785f876
      zyfncg 提交于
      * add embedding yaml
      
      * fix infermeta bug
      
      * fix bug of selected_rows infer_meta
      
      * fix selected_rows
      
      * add unittest
      2785f876
  23. 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