1. 03 2月, 2021 1 次提交
    • L
      [cherry-pick] Update gather_tree (#30784) · a44b65de
      liu zhengxi 提交于
      * upgrade gather_tree to core.ops (#30697)
      
      * upgrade gather_tree to core.ops
      
      * update gather_tree unittests
      
      * update gather_tree doc (#30693)
      
      * update gather_tree doc, test=document_fix
      
      * update sample code, test=document_fix
      
      * remove tensor type, test=document_fix
      a44b65de
  2. 15 1月, 2021 1 次提交
    • P
      Cherry pick 30072 (#30499) · 590e718b
      pangyoki 提交于
      * Cherry-pick 30072, add dispenable input for core.ops.reshape2/expand/slice (#30072)
      
      * add dispenable input 'shape' for core.ops.reshape2
      
      * add dispenable inputs for core.ops.reshape2/expand/slice
      
      * add ut
      
      * save reshape update in pr 30180
      
      * save reshape update v2 in pr 30180
      Co-authored-by: NLeo Chen <chenqiuliang@baidu.com>
      590e718b
  3. 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
  4. 29 12月, 2020 2 次提交
  5. 07 12月, 2020 2 次提交
    • G
      Fix api docs in RNN, Transformer, layer_norm, WeightNormParamAttr (#29235) (#29407) · 78380587
      Guo Sheng 提交于
      * Fix api docs in RNN, Transformer, layer_norm, WeightNormParamAttr.
      test=develop
      
      * Fix api doc for print in label_smooth.
      test=develop
      
      * Update api docs according to review comments.
      Add name argument in RNN back.
      test=develop
      78380587
    • 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
  6. 03 12月, 2020 1 次提交
  7. 30 11月, 2020 2 次提交
  8. 27 11月, 2020 3 次提交
  9. 26 11月, 2020 6 次提交
  10. 25 11月, 2020 1 次提交
  11. 24 11月, 2020 3 次提交
    • C
      fix some docs (#29011) · 018e1699
      Chen Long 提交于
      * fix some docs test=develop;test=document_fix
      
      * add code example test=develop;test=document_fix
      
      * fix code example test=develop;test=document_fix
      
      * fix code example test=develop;test=document_fix
      
      * fix code example test=develop;test=document_fix
      018e1699
    • Y
      fix clip by norm EN doc. test=develop (#28994) · 9a475582
      ysh329 提交于
      * fix clip by norm eng doc. test=develop
      9a475582
    • 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
  12. 23 11月, 2020 1 次提交
  13. 20 11月, 2020 2 次提交
  14. 19 11月, 2020 2 次提交
  15. 17 11月, 2020 1 次提交
  16. 16 11月, 2020 1 次提交
  17. 28 10月, 2020 2 次提交
  18. 27 10月, 2020 1 次提交
  19. 26 10月, 2020 1 次提交
    • C
      [cherry pick ] cherry pick 28108 28198 28199 from release2.0rc (#28215) · 99408718
      cnn 提交于
      * Release 2.0rc cherry pick api rename #28108 (#28184)
      
      * rename count_include_pad-->exclusive  return_indices-->return_mask
      
      * remove track_running_stats
      
      * fix typo.
      
      * rename xxxd-->xxxxD
      
      * solve conflicts
      
      * 2.0rc api add all any (#28199)
      
      * reduce trt warning message (#28011)
      
      add paddle.enable_static() on sample code
      
      alias recude_all-->all, reduce_any-->any
      
      add import reduce_all and reduce_any in python/paddle/tensor/math.py
      
      import all and any in python/paddle/tensor/__init__.py
      
      remove all and any OP in python/paddle/tensor/logic.py, add all and any OP in python/paddle/tensor/math.py
      
      fix import error
      
      remove TestAllAPI temporary
      
      * fix doc of recdue_all and reduce_any, test=document_fix
      
      * fix typo
      
      * fix unittest for all and any API
      Co-authored-by: NPei Yang <peiyang@baidu.com>
      
      * rename conv_transposeXd-->convXd_transpose (#28198)
      
      * fix sample code of reduce_all and reduce_any
      Co-authored-by: NPei Yang <peiyang@baidu.com>
      99408718
  20. 15 10月, 2020 2 次提交
  21. 14 10月, 2020 4 次提交
    • 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
    • R
      [API2.0]remove image_resize series api in Paddle2.0 (#27886) · 8b307042
      ruri 提交于
      * remove image_resize series api in Paddle2.0
      8b307042
    • M
      add dygraph code for unstack (#27881) · b19b01af
      MRXLT 提交于
      b19b01af
    • Z
      fix norm api doc, test=develop (#27652) · 7a58431c
      zhang wenhui 提交于
      * fix norm api doc, test=develop
      
      * fix error message, test=develop
      
      * fix api norm, test=develop
      
      * add adagrad, test=develop
      
      * fix bug, test=develop
      
      * fix bug, test=develop
      
      * add spetral_norm, test=develop
      
      * fix adagrad, test=develop
      
      * merge , test=develop
      7a58431c