1. 19 11月, 2020 1 次提交
  2. 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
  3. 16 10月, 2020 1 次提交
    • G
      Clean text.py and decode.py for API 2.0 (#26853) · 01335815
      Guo Sheng 提交于
      * Make dynamic_decode support dygraph and expose to API 2.0
      test=develop
      
      * update info about BeamSearchDecoder and dynamic_decode
      
      * remove all APIs in paddle.text, expose BeamSearchDecoder and dynamic_decode
      
      * update example code
      
      * delete test_text.py, decode.py, update some doc, fix example code float64
      
      * delete decode import from paddle.nn
      
      * fix unittest bugs
      
      * use dygraph.Embedding instead of nn.Embedding, add paddle.enbale_static()
      
      * update, correct doc
      
      * move dynamic_decode, BeamSearchDecoder API to paddle.nn
      
      * fix code style
      
      * update unittest param, delete import pf text.py
      
      * set dtype of beamsearchtest float64
      
      * update example code of BeamSearchDecoder, dynamic_decode
      Co-authored-by: NLiuChiaChi <709153940@qq.com>
      01335815
  4. 14 10月, 2020 3 次提交
    • 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
    • C
      del the DEFINE_ALIAS of sigmoid_cross_entropy_with_logits (#27883) · 35734138
      chajchaj 提交于
      * del the DEFINE_ALIAS of sigmoid_cross_entropy_with_logits
      
      * del sigmoid_cross_entropy_with_logits in python/paddle/nn/functional/loss.py, test=develop
      
      * call paddle.fluid.layers.sigmoid_cross_entropy_with_logits in bce_with_logits_loss, test=develop
      35734138
    • R
      [API2.0]remove image_resize series api in Paddle2.0 (#27886) · 8b307042
      ruri 提交于
      * remove image_resize series api in Paddle2.0
      8b307042
  5. 13 10月, 2020 2 次提交
  6. 12 10月, 2020 1 次提交
  7. 10 10月, 2020 1 次提交
  8. 08 10月, 2020 1 次提交
    • H
      fix doc and example code of huber_loss and npair_loss (#27678) · de60c549
      huangjun12 提交于
      * fix huber_loss ans npair_loss doc and example code, test=document_fix
      
      * remove disable_static in example code, test=document_fix
      
      * remove huber_loss and refine npair_loss example code, test=document_fix
      
      * remove huber_loss in functional/__init__.py, test=document_fix
      de60c549
  9. 30 9月, 2020 1 次提交
  10. 28 9月, 2020 2 次提交
  11. 14 9月, 2020 1 次提交
  12. 08 9月, 2020 1 次提交
    • X
      fix typo for interp_v2,test=develop (#26843) · 58f3ef98
      xiaoting 提交于
      * fix typo for interp_v2,test=develop
      
      * align with torch, test=develop
      
      * add area mode, test=develop
      
      * fix bug, test=develop
      
      * format notes, test=develop
      
      * update for converage, test=develop
      
      * fix bilinear, test=develop
      
      * fix bicubic, test=develop
      
      * fix typo, test=develop
      
      * fix coverage, test=develop
      
      * fix helper.input_dtype, test=develop
      
      * polish notes, test=develop
      
      * polish notes, test=develop
      
      * polish notes, test=develop
      58f3ef98
  13. 01 9月, 2020 1 次提交
  14. 29 8月, 2020 1 次提交
  15. 28 8月, 2020 1 次提交
  16. 27 8月, 2020 1 次提交
    • F
      Add unified RNN APIs (#26588) · f4083010
      Feiyu Chan 提交于
      * Add RNN related apis in paddl.nn
      test=develop
      
      * new rnn api, cell almost done
      
      * add new progresses in rnn APIs for 2.0
      
      * refine rnn APIs and docstrings.
      
      * add unittets
      
      * disable gpu tests when paddle is not compiled with cuda support
      
      * remove unnecessary imports
      
      * fix docstring
      
      * add to no_sample wlist
      
      * backport to python2 to avoid yield from
      
      * add **kwargs, fix typos
      
      * update docstrings for birnn
      
      * rename argument for SimpleRNN and SimpleRNNCell, fix sample code
      
      * add default value for initial_states in fluid.layers.birnn
      Co-authored-by: Nguosheng <guosheng@baidu.com>
      f4083010
  17. 25 8月, 2020 1 次提交
    • Z
      add norm 2.0 api, test=develop (#26465) · 06796782
      zhang wenhui 提交于
      * add norm 2.0 api, test=develop
      
      * add norm 2.0 api, test=develop
      
      * add norm 2.0 api, test=develop
      
      * add norm 2.0 api, test=develop
      
      * add norm 2.0 api, test=develop
      
      * add norm 2.0 api, test=develop
      
      * add norm 2.0 api, test=develop
      
      * add norm 2.0 api, test=develop
      
      * add norm 2.0 api, test=develop
      
      * add norm 2.0 api, test=develop
      
      * add norm 2.0 api, test=develop
      
      * add norm 2.0 api, test=develop
      
      * add norm 2.0 api, test=develop
      
      * add norm 2.0 api, test=develop
      
      * add norm 2.0 api, test=develop
      
      * add norm 2.0 api, test=develop
      
      * add norm 2.0 api, test=develop
      
      * add norm 2.0 api, test=develop
      06796782
  18. 24 8月, 2020 4 次提交
    • R
      [Api2.0] add pixel shuffle (#26071) · 1f82c0cd
      ruri 提交于
      1f82c0cd
    • W
      api2.0 paddle.nn.Bilinear and paddle.nn.functional.bilinear (#26399) · 422a1620
      wanghuancoder 提交于
      * api2.0 paddle.nn.Bilinear and paddle.nn.functional.bilinear, test=develop
      
      * api2.0 fix code examples, test=develop
      
      * modify test_bilinear_api, about place,to_tensor , test=develop
      
      * re pass pre-commit, test=develop
      
      * Update common.py
      
      * fix BilinearTensorProduct ci error, test=develop
      422a1620
    • D
      [API 2.0] add pool2d3d API,test=develop (#26331) · c8e18360
      Double_V 提交于
      * add pool2d3d API,test=develop
      
      * add api unitest,test=develop
      
      * fix unittest, test=develop
      
      * fix reviews, test=develop
      
      * return one element when return indices is true, test=develop
      
      * fix low converage; to_variable to to_tensor, test=develop
      
      * sort API params, test=develop
      
      * fix en doc, merge PR#26108 to here, test=develop
      
      * fix en doc, test=develop
      c8e18360
    • W
      【2.0 API】Add CUDA kernel and enhance options for grid_sample (#26576) · 79539cf1
      whs 提交于
      This PR enhance CPU kernel and add new CUDA kernel to make grid_sample support:
      
      - align_corners: with bool type.
      - padding mode: which can be in ['zeros', 'reflect', 'border']
      - Interpolation mode: which ca be in ['bilinear', 'nearest']
      
      The old CPU and CUDNN version only support align_corners=true, padding_mode='zeros' and interpolation_mode='bilinear'.
      
      The behavior of the new version op in default mode is compatible with the old version.
      79539cf1
  19. 23 8月, 2020 3 次提交
  20. 22 8月, 2020 4 次提交
  21. 21 8月, 2020 4 次提交
  22. 20 8月, 2020 3 次提交
  23. 19 8月, 2020 1 次提交
    • L
      add pad func (#26106) · bcf03273
      littletomatodonkey 提交于
      * add pad func
      
      * add pad
      
      * test=develop, add pad op and apis
      
      * restore pad2d
      
      * test=develop, fix paddl declare
      
      * fix pad interface
      
      * test=develop, fix pad
      
      * test=develop, add all pad api and cos_sim
      
      * test=develop, remove padding default value
      
      * test=develop, rename var to tensor
      
      * test=develop, add more tests
      
      * test=develop, rename tovar to totensor
      
      * test=develop, fix init
      
      * test=develop, add more test
      
      * test=develop, add more tests
      bcf03273