1. 01 7月, 2021 1 次提交
  2. 30 6月, 2021 1 次提交
  3. 29 6月, 2021 1 次提交
  4. 24 6月, 2021 1 次提交
  5. 22 6月, 2021 2 次提交
  6. 21 6月, 2021 2 次提交
  7. 17 6月, 2021 1 次提交
  8. 16 6月, 2021 2 次提交
  9. 09 6月, 2021 4 次提交
  10. 08 6月, 2021 1 次提交
  11. 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
  12. 02 6月, 2021 1 次提交
  13. 20 5月, 2021 1 次提交
  14. 19 5月, 2021 1 次提交
  15. 18 5月, 2021 1 次提交
  16. 14 5月, 2021 1 次提交
  17. 12 5月, 2021 1 次提交
  18. 11 5月, 2021 1 次提交
  19. 06 5月, 2021 1 次提交
  20. 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
  21. 27 4月, 2021 2 次提交
  22. 26 4月, 2021 3 次提交
  23. 25 4月, 2021 2 次提交
  24. 22 4月, 2021 1 次提交
  25. 20 4月, 2021 1 次提交
  26. 19 4月, 2021 2 次提交
  27. 14 4月, 2021 1 次提交