1. 29 3月, 2021 1 次提交
  2. 22 3月, 2021 1 次提交
  3. 17 3月, 2021 1 次提交
  4. 11 3月, 2021 1 次提交
  5. 04 3月, 2021 1 次提交
    • H
      [Dy2stat] Fix Read-Only Attribute as while_loop Output (#31415) · 6bf02a12
      Huihuang Zheng 提交于
      Fix Read-Only Attribute as while_loop Output:
      
      Usually, our convert_while_loop will be like:
      ```
          [a, b, c] = paddle.jit.dy2static.convert_while_loop(
                  condition_name, body_name, [a, b, c])
      ```
      where a, b, c are in loop_var_names.
      
      However, if loop_var_names contains property such as foo.x, we cannot
      assign the attribute as output of convert_while_loop because Python
      property is a kind of read-only attribute. To handle the case, we replace
      the attributes which are output of convert_while_loop with generated
      variables, then if we know the attribute is not read-only at runtime, we
      assign the attribute. The created statements are like:
      ```
          [a, b, __attribute_variable_1] = paddle.jit.dy2static.convert_while_loop(
                  condition_name, body_name, [a, b, foo.x])
          if not isinstance(getattr(type(foo), x, None), property): foo.x = __attribute_variable_1
      ```
      6bf02a12
  6. 26 2月, 2021 1 次提交
  7. 24 2月, 2021 1 次提交
  8. 03 2月, 2021 1 次提交
  9. 29 1月, 2021 1 次提交
  10. 27 1月, 2021 2 次提交
  11. 18 1月, 2021 1 次提交
  12. 14 1月, 2021 1 次提交
  13. 13 1月, 2021 1 次提交
  14. 11 1月, 2021 1 次提交
  15. 08 1月, 2021 1 次提交
  16. 07 1月, 2021 1 次提交
  17. 06 1月, 2021 2 次提交
  18. 04 1月, 2021 1 次提交
  19. 28 12月, 2020 1 次提交
    • X
      clean redundant API alias in 2.0 - part 1 (#29928) · 726c78f2
      XiaoguangHu 提交于
      * rm check_import_scipy, rm chunk_eval and mean_iou in paddle.metric.__init__.py
      
      * Revert "rm check_import_scipy, rm chunk_eval and mean_iou in paddle.metric.__init__.py"
      
      This reverts commit 179ba8c2b22bc31fe8d8a126e31820792cbd0f4e.
      
      * delete paddle.metric.chunk_eval and paddle.metric.mean_iou
      
      * delete paddle.nn.clip and paddle.nn.clip_by_norm
      
      * delete paddle.nn.functional.activation.hard_sigmoid and paddle.nn.functional.activation.hard_swish
      
      * delete paddle.nn.Pool2D, paddle.nn.BilinearTensorProduct, paddle.nn.RowConv, paddle.nn.functional.row_conv
      
      * fix extension import error
      
      * fix unittest for row_conv and Pool2D
      726c78f2
  20. 23 12月, 2020 1 次提交
  21. 11 12月, 2020 1 次提交
  22. 09 12月, 2020 1 次提交
  23. 07 12月, 2020 1 次提交
    • L
      [paddle v2.0.0rc1: API fixs] assign/conv2d/conv2d_transpose/cast/ParamAttr (#29171) · 2ee7a6b0
      liuyuhui 提交于
      * fix DLTP-15151, paddle.ParamAttr API
      
      * fix DLTP-15083/DLTP-15274, paddle.nn.functionl.assign paddle.cast API
      
      * fix DLTP-15431/DLTP-15432, paddle.static.nn.conv2d paddle.static.nn.conv2d_transpose API
      
      * fix DLTP-15083, paddle.nn.functionl.assign API
      
      * fix DLTP-15431/DLTP-15432, paddle.static.nn.conv2d paddle.static.nn.conv2d_transpose API
      
      * support in_dygraph_mode for cast op, test=develop
      
      * fix bug,test=develop
      
      * fix doc
      
      * fix DLTP-15431/DLTP-15432, paddle.static.nn.conv2d paddle.static.nn.conv2d_transpose API
      2ee7a6b0
  24. 05 12月, 2020 1 次提交
  25. 04 12月, 2020 1 次提交
  26. 02 12月, 2020 2 次提交
  27. 01 12月, 2020 1 次提交
  28. 30 11月, 2020 4 次提交
  29. 28 11月, 2020 1 次提交
  30. 27 11月, 2020 5 次提交