1. 13 10月, 2021 1 次提交
    • 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
  2. 10 9月, 2021 1 次提交
  3. 08 9月, 2021 1 次提交
  4. 07 9月, 2021 1 次提交
  5. 27 8月, 2021 1 次提交
  6. 11 6月, 2021 1 次提交
  7. 26 5月, 2021 1 次提交
  8. 25 4月, 2021 1 次提交
  9. 15 4月, 2021 1 次提交
  10. 03 3月, 2021 1 次提交
  11. 19 2月, 2021 1 次提交
  12. 25 1月, 2021 1 次提交
  13. 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
  14. 22 12月, 2020 1 次提交
  15. 09 12月, 2020 1 次提交
  16. 27 11月, 2020 1 次提交
  17. 26 11月, 2020 1 次提交
  18. 19 11月, 2020 1 次提交
  19. 12 11月, 2020 1 次提交
  20. 27 9月, 2020 1 次提交
  21. 25 9月, 2020 1 次提交
  22. 31 8月, 2020 3 次提交
  23. 22 8月, 2020 1 次提交
  24. 20 8月, 2020 1 次提交
  25. 14 8月, 2020 5 次提交
  26. 13 8月, 2020 1 次提交
    • L
      [OpDevOptimize] Add common infershape functions (#26096) · ffe52b44
      Leo Chen 提交于
      * add unchaged infershape function
      
      * add broadcast infershape function
      
      * fix bug
      
      * rename infershape functions
      
      * add UnaryOpUnchangedInferShapeCheckAxis
      
      * add error message
      
      * add test for common infer shape functions
      
      * dont update existed ops
      
      * dont update op_desc.h
      
      * add more test
      
      * add error check, refine error message
      ffe52b44
  27. 10 8月, 2020 1 次提交
  28. 08 8月, 2020 1 次提交
    • F
      update document template for unary elementwise layers (#25896) · e853ece0
      Feiyu Chan 提交于
      1. update document template for unary elementwise layers(a.k.a. activation layer);
      2. remove generate_op_noattr and use generate_activation instead; remove redundant function copies;
      3. minor update for docstring to fix rst format errors.
      4. fix doc for Rsqrt OP
      5. add sample code for each activation separately;
      6. remove the unused deprecated decorator.
      e853ece0
  29. 23 7月, 2020 1 次提交
    • C
      New features, add sinh and cosh op, test=develop (#25495) · 70cee22f
      cnn 提交于
      * New features, add sinh and cosh op, test=develop
      
      * remove duplicate test function and remove out paramters, test=develop
      
      * Add out paramters temporary, remove later. test=develop
      
      * remove out args, PR 25570, test=develop
      
      * remove TestParameter, test=developx
      
      * add test api for static dygraph, test=develop
      
      * add backword unittests for sinh and cosh, test=develop
      70cee22f
  30. 06 7月, 2020 1 次提交
  31. 27 5月, 2020 1 次提交
  32. 11 5月, 2020 1 次提交
    • C
      Add macro BOOST_GET to enrich the error information of boost :: get (#24175) · aa0f254f
      Chen Weihang 提交于
      * add new macro BOOST_GET_SAFELY & unittests, test=develop
      
      * add different macro type, test=develop
      
      * fix get macro type in executor, test=develop
      
      * four macro part change backup
      
      * using one macro for all case, test=develop
      
      * revert attribute change, test=develop
      
      * change to three func to solve gcc4.8 bug, test=develop
      
      * polish some details, test=develop
      aa0f254f
  33. 26 4月, 2020 1 次提交
    • L
      improve efficiency of runtime InferVarType (#22778) · 9a93f6aa
      liuwei1031 提交于
      * save InferVarType changes, test=develop
      
      * remove code comments, test=develop
      
      * tweak code, test=develop
      
      * fix compilation warning, update merge_ids_op split_ids_op to new interface, test=develop
      
      * modify fused_bn_activation_op, test=develop
      
      * fix error of fused_bn_activation_op, test=develop
      
      * fix PADDLE_ENFORCE and unittest coverage issue, test=develop
      
      * tweak PADDLE_ENFORCE messages, test=develop
      
      * improve unittest coverage, test=develop
      
      * add StaticGraphInferVarType class, test=develop
      
      * rebase develop branch, test=develop
      
      * fix unittest error, test=develop
      
      * remove comments, test=develop
      
      * improve unittest coverage, test=develop
      
      * imporve error message and imporve unittest coverage, test=develop
      
      * upgrade InferVarType API, test=develop
      
      * tweak pyfunc error message, test=develop
      
      * fix compilation conflict - save_combine_op, test=develop
      9a93f6aa
  34. 14 4月, 2020 1 次提交