1. 20 1月, 2021 1 次提交
    • C
      make abs op support complex types (#30375) · 358106fc
      chentianyu03 提交于
      * rewrite abs op
      
      * rewrite abs op and remove abs in activation
      
      * remove abs register in old codes
      
      * fix abs_grad type error
      
      * fix abs double_grad output name error
      
      * modify abs_grad, abs_grad_grad functor for windows building
      
      * format code style
      
      * fix the bug of result is nan when the divisor is zero
      
      * add missing abs attr and add abs for float16
      358106fc
  2. 22 12月, 2020 1 次提交
  3. 27 9月, 2020 1 次提交
  4. 25 9月, 2020 1 次提交
  5. 06 1月, 2020 1 次提交
    • D
      support elu_op double grad (#21822) · fab4b076
      Double_V 提交于
      * support elu activation double grad,test=develop
      
      * delete the code commit in .cc,test=develop
      
      * fix relu test unpass, test=develop
      
      * add elu double grad kernel and unit test
      
      * add caculate dX in elu double grad functor, test=develop
      
      * update the commit code,test=develop
      fab4b076
  6. 03 1月, 2020 1 次提交
  7. 17 9月, 2019 1 次提交
    • L
      fix pow op, support tensor for agument factor. (#19313) · 677e7144
      liym27 提交于
      improve pow op according to reviews:
      1. Delete unnecessary judgement statements in PowGradOpDescMaker;
      2. Improve test of test_api;
      
      overload GetKernelTypeForVar
      
      add stop_gradient=True when attr(factor) is tensor Variable, change examples in API pow.
      test=develop,test=document_preview
      677e7144
  8. 15 5月, 2019 1 次提交
    • L
      Double backward sqrt (#17387) · 4ef63101
      lvmengsi 提交于
      * double backward sqrt
      
      * refine unittest. test=develop
      
      * refine test. test=develop
      
      * remove alpha in unittest. test=develop
      4ef63101
  9. 13 5月, 2019 1 次提交
    • K
      add double grad for square op (#17173) · 11d3a38f
      Kaipeng Deng 提交于
      * add double grad for square. test=develop
      
      * formax code. test=develop
      
      * fix for grad sum. test=develop
      
      * refine shape. test=develop
      
      * refine extract. test=develop
      11d3a38f
  10. 26 4月, 2019 1 次提交
  11. 23 4月, 2019 1 次提交
    • Q
      Support backward of backward for Relu and add a new gradient checker by... · c1c2633a
      qingqing01 提交于
      Support backward of backward for Relu and add a new gradient checker by comparing theoretical and numerical Jacobian. (#16862)
      
      * Support backward of backward and a new gradient checker
      * Rename decorators.py to decorator_helper.py, since Python on Windows CI has decorators package.
      
      1. Add ReluDoubleGradMaker when register relu_grad.
      2. Add a new gradient checker by comparing theoretical and numerical Jacobian.  Check double gradients by double_grad_check.
      c1c2633a
  12. 10 4月, 2019 1 次提交
  13. 07 11月, 2018 1 次提交
    • C
      Add fp16 backward support (#14202) · a9b5d42d
      chengduo 提交于
      * add fp16 backward support
      test=develop
      
      * add sum_op fp16 test
      
      * disable test_dist_save_load
      test=develop
      
      * add check_grad for sum
      
      * add unit test for softmax_grad fp16
      test=develop
      
      * add scale_op unit test
      
      * add mul_grad_op unit test for fp16
      
      * add cross_entropy_grad and eman_grad unit test for fp16
      test=develop
      
      * fix cross_entropy unit test
      
      * add pool2d fp16 unit test
      
      * refine conv2d fp16 unit test
      test=develop
      
      * refine activation unit test
      test=develop
      
      * fix ci
      test=develop
      
      * follow zhihong's comment, copy from https://github.com/PaddlePaddle/Paddle/pull/12796
      test=develop
      a9b5d42d
  14. 17 8月, 2018 1 次提交
  15. 16 8月, 2018 1 次提交
  16. 17 4月, 2018 1 次提交
  17. 10 4月, 2018 1 次提交
  18. 21 3月, 2018 1 次提交
  19. 12 2月, 2018 1 次提交
  20. 10 2月, 2018 2 次提交
  21. 26 12月, 2017 1 次提交
  22. 12 12月, 2017 1 次提交
    • Q
      Refine device context (#6433) · 61ec0b95
      QI JUN 提交于
      There are mainly following fixes:
      
      - take `DeviceContext` as the template parameter of math functors and OpKernel instead of `Place`
      - remove `eigen_device` interface in base class  `DeviceContext`
      - remove `GetEigenDevice` interface in `ExecutionContext` and base class `DeviceContext`
      - remove unused `platform::EigenDeviceConverter`
      - rename `REGISTER_OP_GPU_KERNEL` to `REGISTER_OP_CUDA_KERNEL`
      - rename `USE_GPU_ONLY_OP` to `USE_CUDA_ONLY_OP`
      61ec0b95
  23. 27 10月, 2017 1 次提交
    • Y
      Gradient check use graph (#5027) · be00b0c4
      Yu Yang 提交于
      * Simplize Gradient Check
      
      * Stash
      
      * Extract apply_backward_pass to backward.py
      
      Rename apply_backward_pass to append_backward_ops
      
      * Use graph API to check gradient
      
      * Fix ci
      
      * Fix CI
      
      * Fix backward for double precision
      
      * Stash
      
      * Fix CI
      
      * Fix ci
      
      * Ignore GRU test
      
      * Ignore xe op
      
      * Fix CI
      
      * Fix softmax with xe gradient
      
      The correct equation should be IG = OG * (d_softmax_with_xe())
      
      * Fix typo
      
      * Fix merge error
      
      * Disable LRN
      be00b0c4
  24. 09 10月, 2017 1 次提交
  25. 06 10月, 2017 2 次提交
  26. 29 9月, 2017 3 次提交
  27. 14 9月, 2017 3 次提交
  28. 13 9月, 2017 1 次提交
  29. 08 8月, 2017 1 次提交
  30. 07 8月, 2017 1 次提交
  31. 04 8月, 2017 1 次提交
  32. 02 8月, 2017 1 次提交
  33. 31 7月, 2017 1 次提交
  34. 25 7月, 2017 1 次提交