1. 11 1月, 2021 1 次提交
  2. 07 1月, 2021 1 次提交
    • L
      [cherry pick] Some optimizations of elementwise_add, gelu and dropout for AMP (#30152) · 07f68fad
      Leo Chen 提交于
      * Improve performance of elementwise_add grad op (#29187)
      
      * pass stop_gradient for cast op
      
      * improve performance of elementwise_add grad
      
      * use tensor copy async
      
      * dygraph branch
      
      * fix dygraph branch
      
      * add ut
      
      * make gelu fp16 computing more robust (#29484)
      
      * Add fast path for dropout when p == 0  (#29553)
      
      * add fast path for p == 0 in dropout
      
      * add ut
      07f68fad
  3. 07 12月, 2020 1 次提交
    • L
      [paddle v2.0.0rc1: API fixs] assign/conv2d/conv2d_transpose/cast/ParamAttr (#29397) · 0f53f3d9
      liuyuhui 提交于
      * fix bug,test=develop
      
      * 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, test=document_fix
      0f53f3d9
  4. 05 12月, 2020 1 次提交
  5. 30 11月, 2020 1 次提交
    • L
      Check whether there is any inplace operation affecting gradient calculation. (#27901) · 865a4598
      liym27 提交于
      * Add a class TensorInplaceVersion to count the inplace version and put it in framework::Tensor instead of Allocation or Variable.
      
      * Add a new attribute `_inplace_version` for VarBase.
      
      * Raise exception if an inplace operation can result in incorrect gradient computation.
      
      * Add a new interface _bump_inplace_version() for VarBase to bump the version whenever the Tensor is modified through an inplace operation.
      
      * For api assign, call _bump_inplace_version() when it's an inplace operation inn dynamic mode.
      
      * Use original var_wrapper if the inplace_version is not changed.
      
      * Replace SnapshotVarWrapperList with SnapshotVarWrapper to optimize performane.
      865a4598
  6. 28 11月, 2020 1 次提交
  7. 26 11月, 2020 1 次提交
  8. 24 11月, 2020 1 次提交
    • L
      Upgrade string literals to raw string (#28989) · 3815d7aa
      Leo Chen 提交于
      * upgrade comment string to raw string
      
      * fix string in
      
      * fix string with ' '
      
      * revert update on comments
      
      * upgrade only necessary
      
      * fix sample code checker
      
      * fix comments with '''
      3815d7aa
  9. 14 10月, 2020 2 次提交
    • C
      Remove and reorganize the alias of APIs (#27717) · d05058d2
      chentianyu03 提交于
      * modify cond while_loop to paddle.static.nn.cond
      
      * modify crop_tensor to paddle.crop
      
      * modify Variable to paddle.static.Variable
      
      * remove nn.beam_search, nn.beam_search_decode, nn.gather_tree
      
      * remove bpr_loss, center_loss, rank_loss, smooth_l1, teacher_student_sigmoid_loss, edit_distance, sampled_softmax_with_cross_entropy in nn.functional
      
      * remove apis in nn.functional.learn_rate.py
      
      * remove pool2d, pool3d, adaptive_pool2d, adaptive_pool3d in nn.functional
      
      * remove apis in nn.functional.vision
      
      * remove erf, soft_relu in nn.functional.activation
      
      * remove apis in nn.functional.extension
      
      * remove nn.functional.rnn
      
      * remove hash from nn.functional.lod
      
      * remove row_conv from nn.functional.extension
      
      * remove one_hot, pad2d, pad_constant_like from nn.functional.common
      
      * remove nn.gather_tree, nn.BilinearTensorProduct, nn.Pool2D, nn.Pad2D
      
      * remove apis from optimizer.__init
      
      * remove tensor.creation.fill_constant
      
      * remove elementwise_mul in nn.functional.common and  modify to paddle.multiply
      
      * remove  tensor.stat.reduce_mean
      
      * remove reduce_all, reduce_any in tensor.logic
      
      * remove apis in tensor.math
      
      * remove apis in tensor.__init__
      
      * remove has_inf, has_nan in tensor.search
      
      * remove apis in framework.__init__
      
      * remove apis in paddle.__init__
      
      * remove apis in nn.functional.__init__
      
      * modify removed alias apis to raw api in doc and unittests
      
      * fix remove grid_sample bug
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * delete alias api relastions in doc
      
      * reserve paddle.compat, paddle.sysconfig
      
      * remove unittest for paddle.reduce_all, paddle.reduce_any
      
      * modify removed alias apis to raw api in doc and unittests
      
      * recover paddle.save and paddle.load
      
      * resolve conflicts
      
      * fix sample code missing paddle.enable_static() bug
      
      * fix sample code missing paddle.enable_static() bug
      
      * fix to_string sample code error
      d05058d2
    • L
      [API 2.0: doc] fix doc of linspace cast assign addcmul (#27897) · 72efd830
      liuyuhui 提交于
      * update assign/cast/linspace/addcmul op doc for 2.0 api,test=document_fix
      
      * fix bug about cast doc for 2.0 api,test=document_fix
      72efd830
  10. 13 10月, 2020 1 次提交
  11. 30 9月, 2020 1 次提交
  12. 23 9月, 2020 1 次提交
  13. 22 9月, 2020 1 次提交
  14. 21 9月, 2020 1 次提交
  15. 08 9月, 2020 1 次提交
  16. 06 9月, 2020 1 次提交
  17. 05 9月, 2020 1 次提交
  18. 04 9月, 2020 2 次提交
  19. 03 9月, 2020 1 次提交
  20. 22 8月, 2020 2 次提交
  21. 21 8月, 2020 1 次提交
  22. 20 8月, 2020 1 次提交
  23. 14 8月, 2020 1 次提交
  24. 07 8月, 2020 1 次提交
  25. 04 8月, 2020 1 次提交
  26. 31 7月, 2020 1 次提交
  27. 30 7月, 2020 1 次提交
  28. 29 7月, 2020 1 次提交
  29. 27 7月, 2020 1 次提交
  30. 21 7月, 2020 2 次提交
  31. 17 7月, 2020 1 次提交
  32. 14 7月, 2020 1 次提交
  33. 12 7月, 2020 1 次提交
  34. 10 7月, 2020 1 次提交
  35. 07 7月, 2020 1 次提交
  36. 08 6月, 2020 1 次提交
    • A
      Support LoDTensorArray in reverse_op (#24797) · 6be0ee15
      Aurelius84 提交于
      * Support LoDTensorArray in reverse_op test=develop
      
      * polish en doc and unittest code test=develop
      
      * refine sample code test=develop
      
      * add example of LoDTensorArray test=develop
      
      * fix typo test=develop
      6be0ee15