1. 17 1月, 2023 1 次提交
    • rm flag retain grad (#49835) · 73f97de0
      姜永久 提交于
      * rm retain grad
      
      * fix zero_dim
      
      * fix zero_dim for xpu
      
      * reset zero dim for xpu
      
      * reset xpu
      
      * reset custom_relu
      
      * Reset flip
      
      * fix zero dim
      73f97de0
  2. 10 1月, 2023 1 次提交
  3. 15 12月, 2022 1 次提交
  4. 08 12月, 2022 1 次提交
    • N
      [CodeStyle][F811] fix some test cases shadowed by the same name (#48745) · cdf31dc1
      Nyakku Shigure 提交于
      * [CodeStyle][F811] fix some unittests
      
      * fix setup.py
      
      * remove ignore from flake8 config
      
      * remove repeat TestAbsDoubleGradCheck
      
      * fix rrelu test
      
      * fix fft ut
      
      * add noqa in fluid.lstm ut
      
      * add rtol and atol in test_matmul_v2_op
      
      * update rtol
      
      * empty commit
      
      * empty commit
      
      * revert changes in matmul ut and add noqa
      
      * rename test case name
      cdf31dc1
  5. 29 11月, 2022 1 次提交
  6. 23 11月, 2022 1 次提交
  7. 21 11月, 2022 1 次提交
  8. 16 11月, 2022 1 次提交
  9. 14 11月, 2022 1 次提交
  10. 10 11月, 2022 1 次提交
  11. 09 11月, 2022 1 次提交
  12. 08 11月, 2022 1 次提交
    • C
      support pow double grad op (#47691) · 6fe9dfb2
      Charles-hit 提交于
      * support pow_double_grad op
      
      * add unit test for pow double grad
      
      * fix pow double grad
      
      * optimize pow double grad kernel
      
      * fix pow double grad kernel
      6fe9dfb2
  13. 04 11月, 2022 1 次提交
    • C
      Add sin double grad operator. (#47543) · 297f5efe
      cyber-pioneer 提交于
      * add sin double grad operator
      
      * add sin double grad test example
      
      * move sindoublegradopmaker to backward.yaml
      
      * fix sindoublegrad code
      
      * simplify sindoublegrad functor
      297f5efe
  14. 23 10月, 2022 1 次提交
  15. 11 10月, 2022 1 次提交
  16. 27 9月, 2022 1 次提交
  17. 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
  18. 02 6月, 2022 1 次提交
  19. 23 5月, 2022 1 次提交
  20. 09 5月, 2022 1 次提交
  21. 29 4月, 2022 2 次提交
  22. 22 4月, 2022 1 次提交
  23. 30 3月, 2022 1 次提交
  24. 29 3月, 2022 1 次提交
  25. 28 3月, 2022 1 次提交
    • H
      Move some activation to phi (#40727) · e77a947e
      hong 提交于
      * update
      
      * add forward case
      
      * update
      
      * update; test=develop
      
      * add some grad kernel; test=develop
      
      * move gpu kernel; test=develop
      
      * update
      
      * update;
      
      * update test;
      
      * fix selected rows bug;
      
      * add mix vector include ;
      
      * add mixed vector depen; test=develop
      
      * add logit grad signature;
      
      * polish code
      
      * fix bug;
      
      * add namespace for abs
      
      * revert code
      
      * not move softsign
      
      * revmove duplate register;
      
      * fix softsign bug
      
      * polish code
      
      * format
      
      * format
      
      * fix bug
      
      * remove cmake dep
      
      * add square sqrt selected rows support
      
      * update
      
      * remove clip norm
      
      * add standalone executor sqrt dep
      
      * standalone exec denp sqrt
      
      * remove sqrt op in cmkaelist
      
      * open some case
      e77a947e
  26. 15 10月, 2021 1 次提交
    • J
      [New Feature] Support tanh triple grad (#36225) · 808be657
      Jiabin Yang 提交于
      * native commit for triple grad of sigmod
      
      * Updated unittests files
      
      * init functional jacobian api
      
      * Updated trible_test func
      
      * Updated gradient_checker & test_script
      
      * finish test with dtype float32
      
      * add float64 test case
      
      * polish code
      
      * use atol=1e-5 with dtype float64
      
      * fix for ci
      
      * set timeout for test_jacobian
      
      * fix dygraph grad to support high differential
      
      * polish API docstring
      
      * Updated gradient checker and some related files
      
      * fix double grad strip error for high differential
      
      * fix double grad strip error for high differential
      
      * Add Sigmoid triple grad tests
      
      * fix dygraph double grad dtype error when calling for high differential senario
      
      * Updated triple grad teses func
      
      * Use np.random to initialize ddx
      
      * Updated triple_grad_check func
      
      * add todo for gradient checker and refine some comments
      
      * remove additional code
      
      * add test for warnging in backward.py
      
      * add tanh triple grad
      
      * format python code
      
      * refine code
      Co-authored-by: Nveyron95 <veyron_wu@163.com>
      Co-authored-by: Nlevi131 <limaolin01@baidu.com>
      808be657
  27. 13 10月, 2021 2 次提交
    • Y
      [PaddlePaddle hackathon] + ADD CELU (#36088) · d7064f04
      yujun 提交于
      * update
      
      * update
      
      * update
      
      * try make CI pass
      
      * doc typo
      
      * update doc string
      d7064f04
    • J
      [New Feature] Support triple grad in Paddle (#36187) · 2c44ee7e
      Jiabin Yang 提交于
      * native commit for triple grad of sigmod
      
      * Updated unittests files
      
      * init functional jacobian api
      
      * Updated trible_test func
      
      * Updated gradient_checker & test_script
      
      * finish test with dtype float32
      
      * add float64 test case
      
      * polish code
      
      * use atol=1e-5 with dtype float64
      
      * fix for ci
      
      * set timeout for test_jacobian
      
      * fix dygraph grad to support high differential
      
      * polish API docstring
      
      * Updated gradient checker and some related files
      
      * fix double grad strip error for high differential
      
      * fix double grad strip error for high differential
      
      * Add Sigmoid triple grad tests
      
      * fix dygraph double grad dtype error when calling for high differential senario
      
      * Updated triple grad teses func
      
      * Use np.random to initialize ddx
      
      * Updated triple_grad_check func
      
      * add todo for gradient checker and refine some comments
      
      * remove additional code
      
      * add test for warnging in backward.py
      
      * format python code
      Co-authored-by: Nveyron95 <veyron_wu@163.com>
      Co-authored-by: Nlevi131 <limaolin01@baidu.com>
      2c44ee7e
  28. 26 5月, 2021 1 次提交
  29. 15 4月, 2021 1 次提交
  30. 12 1月, 2021 1 次提交
  31. 22 12月, 2020 1 次提交
  32. 09 12月, 2020 1 次提交
  33. 27 9月, 2020 2 次提交
  34. 25 9月, 2020 1 次提交
  35. 23 2月, 2020 1 次提交
  36. 07 1月, 2020 1 次提交
  37. 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