1. 28 7月, 2021 1 次提交
  2. 27 7月, 2021 1 次提交
  3. 23 7月, 2021 1 次提交
  4. 22 7月, 2021 1 次提交
  5. 21 7月, 2021 1 次提交
  6. 20 7月, 2021 1 次提交
  7. 15 7月, 2021 1 次提交
  8. 14 7月, 2021 2 次提交
  9. 05 7月, 2021 3 次提交
  10. 01 7月, 2021 1 次提交
  11. 30 6月, 2021 1 次提交
  12. 29 6月, 2021 1 次提交
  13. 24 6月, 2021 1 次提交
  14. 22 6月, 2021 2 次提交
  15. 21 6月, 2021 2 次提交
  16. 17 6月, 2021 1 次提交
  17. 16 6月, 2021 2 次提交
  18. 09 6月, 2021 4 次提交
  19. 08 6月, 2021 1 次提交
  20. 04 6月, 2021 1 次提交
    • H
      [Dy2stat] Add Support for paddle.grad (#33110) · 82630f38
      Huihuang Zheng 提交于
      This PR made these changes to support double grad:
      
      1. Translate `paddle.grad` to `paddle.static.gradients` to support double grad for dy2stat.
      2. Fix IfElseTransformer bug which may not change value if "Store before Load" variable is in "Store" statement is in IfElse conditional statement
      3. Add `DOut` to support double grad variables in `run_program_op`
      4. Add support for renaming for double grads for `jit.save/load`
      82630f38
  21. 02 6月, 2021 1 次提交
  22. 20 5月, 2021 1 次提交
  23. 19 5月, 2021 1 次提交
  24. 18 5月, 2021 1 次提交
  25. 14 5月, 2021 1 次提交
  26. 12 5月, 2021 1 次提交
  27. 11 5月, 2021 1 次提交
  28. 06 5月, 2021 1 次提交
  29. 30 4月, 2021 3 次提交
    • H
      [Dy2stat] Fix to_tensor Bug Reported from QA (#32701) · 00268194
      Huihuang Zheng 提交于
      Dy2stat failed when user writes return paddle.to_tensor(xxx), the reason is that visit_Expr doesn't work when the Expr is in return. Some other statements may trigger same bug. To fix it, we re-wrote a transformer to transform paddle.to_tensor to paddle.assign for all Call nodes.
      00268194
    • Z
    • P
      Add 12 inplace APIs including auto generated (#32573) · 308073de
      pangyoki 提交于
      * add relu6_ hardsigmoid_ leaky_relu_ Inplace APIs
      
      * add softmax_with_cross_entropy_ Inplace API
      
      * add clip_ scale_ add_ subtract_ Inplace APIs
      
      * add wlist
      
      * fix parameter of scale api
      
      * add add_n_ Inplace API and remove log_ Inplace API
      
      * fix elementwise_add_ and elementwise_sub_ broadcast problem
      
      * elementwise inplace api give error message before run the op
      
      * use broadcast_shape in elementwise inplace op
      
      * add 8 inplace apis that is auto generated
      
      * add unittest for all inplace apis
      
      * add decorator for inplace apis in static mode
      
      * fix windows blas fail of exp inplace api, change array_equal to allclose
      
      * add flatten inplace api
      
      * add flatten unittest
      
      * fix flatten unittest
      
      * add decorator
      
      * fix grad.numpy in test_pylayer_op
      
      * unsupport softmax_with_cross_entropy_
      
      * add test_inplace_softmax_with_cross_entropy to static_mode_white_list
      
      * delete __all__ in inplace_utils
      
      * delete activation inplace function and add Tensor.inplace_func
      
      * change paddle.inplace_ to Tensor.inplace_
      
      * fix little problem
      
      * add paddle in inplace_utils
      308073de