1. 22 6月, 2021 2 次提交
  2. 21 6月, 2021 2 次提交
  3. 17 6月, 2021 1 次提交
  4. 16 6月, 2021 2 次提交
  5. 09 6月, 2021 4 次提交
  6. 08 6月, 2021 1 次提交
  7. 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
  8. 02 6月, 2021 1 次提交
  9. 20 5月, 2021 1 次提交
  10. 19 5月, 2021 1 次提交
  11. 18 5月, 2021 1 次提交
  12. 14 5月, 2021 1 次提交
  13. 12 5月, 2021 1 次提交
  14. 11 5月, 2021 1 次提交
  15. 06 5月, 2021 1 次提交
  16. 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
  17. 27 4月, 2021 2 次提交
  18. 26 4月, 2021 3 次提交
  19. 25 4月, 2021 2 次提交
  20. 22 4月, 2021 1 次提交
  21. 20 4月, 2021 1 次提交
  22. 19 4月, 2021 2 次提交
  23. 14 4月, 2021 1 次提交
  24. 13 4月, 2021 1 次提交
    • C
      add layer.to api (#32040) · 6e946e9d
      chentianyu03 提交于
      * add layer.to api
      
      * add layer.to api
      
      * add layer.to api
      
      * add the doc for Layer.to
      
      * add input type checking
      
      * modify assert and import bug
      
      * format code style
      
      * format code style
      
      * make place support str type
      
      * add SetGradVarBase method to set the gradient after conversion
      
      * modify argument palce to device
      
      * modify argument palce to device
      
      * modify doc of layers.to API
      
      * add xpuplace to device argument
      6e946e9d
  25. 09 4月, 2021 2 次提交
  26. 07 4月, 2021 1 次提交