1. 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
    • 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
  2. 13 10月, 2020 2 次提交
  3. 12 10月, 2020 1 次提交
  4. 11 10月, 2020 1 次提交
  5. 10 10月, 2020 2 次提交
  6. 09 10月, 2020 2 次提交
  7. 30 9月, 2020 1 次提交
  8. 27 9月, 2020 2 次提交
  9. 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
  10. 31 8月, 2020 1 次提交
  11. 29 8月, 2020 1 次提交
  12. 28 8月, 2020 1 次提交
  13. 27 8月, 2020 2 次提交
    • 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
    • X
      add intepolte_v2 (#26520) · 89d7d866
      xiaoting 提交于
      * add intepolte_v2
      
      * fix linear interp
      
      * polish unittest, test=develop
      
      * update code samples to 2.0 API, test=develop
      
      * remove warning, test_develop
      
      * add name in attrs, test=develop
      
      * polish code, test=develop
      
      * change Align to align, test=develop
      
      * fix unittest in py3,test=develop
      
      * fix coverage, test=develop
      
      * fix coverage, test=develop
      
      * fix for windows ci, test=develop
      
      * fix coverage, test=develop
      89d7d866
  14. 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
  15. 24 8月, 2020 3 次提交
    • 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
    • G
      [API 2.0] Add transformer apis (#26418) · 317f7ce2
      Guo Sheng 提交于
      * Add MultiHeadAttention api.
      test=develop
      
      * Add MultiHeadAttention cache type and gen_cache.
      test=develop
      
      * Add TransformerEncoderLayer and TransformerEncoder.
      test=develop
      
      * Add Transformer decoder apis.
      test=develop
      
      * Add Transformer api.
      test=develop
      
      * add unittests for transformer api
      
      * add unittests for transformer api
      
      * Fix some bugs in Transformer apis.
      test=develop
      
      * add unittests for encoder, decoder and transformer
      
      * clean conflicts infor in code
      
      * clean Chinese comments
      
      * Add TransformerDecoderCell and TransformerBeamSearchDecoder.
      test=develop
      
      * Remove TransformerDecoderCell and TransformerBeamSearchDecoder temporarily.
      test=develop
      
      * Add import for Transformer apis.
      test=develop
      
      * Update usage of weight_attr and Tensor in Transformer api docs.
      test=develop
      
      * Update Transformer apis by renaming MultiheadAttention and cal_kv according to comments.
      test=develop
      
      * Fix MultiHeadAttention in test_transformer_api.py.
      test=develop
      Co-authored-by: NLiuChiaChi <709153940@qq.com>
      317f7ce2
  16. 23 8月, 2020 4 次提交
  17. 22 8月, 2020 4 次提交
  18. 21 8月, 2020 3 次提交
  19. 20 8月, 2020 4 次提交
  20. 19 8月, 2020 2 次提交
    • 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
    • C
      Add SyncBatchNorm (#26032) · 56890dc7
      ceci3 提交于
      * add SyncBatchNorm,test=develop
      56890dc7