1. 08 4月, 2021 1 次提交
    • C
      Add LayerDict class (#31951) · e45c3fa5
      chentianyu03 提交于
      * add layerdict class
      
      * add docs and test cases for LayerDict class
      
      * remove the arguments type in function define
      
      * add update inputs type check
      e45c3fa5
  2. 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
  3. 27 11月, 2020 1 次提交
    • X
      Fix interpolate doc (#29104) · 9cc0e726
      xiaoting 提交于
      * fix interpolate example, test=develop;test=document_fix
      
      * fix format, test=develop, test=document_fix
      
      * update upsample doc, test=develop, test=document_fix
      9cc0e726
  4. 04 11月, 2020 1 次提交
  5. 21 10月, 2020 1 次提交
    • C
      2.0rc api rename (#28088) · 7c1aa0d6
      cnn 提交于
      * rename manual_seed to seed
      
      * rename xxx1d-->xxx1D, xxx2d-->xxx2D, xxx3d-->xxx3D
      
      * rename manual_seed --> seed
      
      * do not rename .cc, .cu and .h file
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * disable_static on doc example code
      
      * donot change manual_seed on generator
      
      * add enable_static on sample code
      
      * convert python/paddle/fluid/layers/nn.py to bak
      
      * fix typo
      
      * fix code style
      
      * fix seed to manual_seed when call functions of Generator()
      
      * fix bug
      7c1aa0d6
  6. 17 10月, 2020 1 次提交
  7. 14 10月, 2020 1 次提交
    • 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
  8. 13 10月, 2020 2 次提交
  9. 12 10月, 2020 1 次提交
  10. 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
  11. 31 8月, 2020 1 次提交
  12. 29 8月, 2020 1 次提交
  13. 27 8月, 2020 3 次提交
    • 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
    • W
      api20, Bilinear add deprecated, and fix english doc (#26610) · 07e3b9a3
      wanghuancoder 提交于
      * API2.0 del old api(BilinearTensorProduct) from nn init.py, test=develop
      
      * add import for deprecated, test=develop
      
      * modify deprecated location, test=develop
      
      * fix english doc, test=develop
      
      * Update __init__.py
      
      * Update __init__.py
      
      * Update common.py
      
      * fix english doc, test=develop
      Co-authored-by: NChen Weihang <chenweihang@baidu.com>
      07e3b9a3
  14. 24 8月, 2020 3 次提交
    • R
      [Api2.0] add pixel shuffle (#26071) · 1f82c0cd
      ruri 提交于
      1f82c0cd
    • 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
    • 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
  15. 23 8月, 2020 4 次提交
  16. 22 8月, 2020 3 次提交
  17. 21 8月, 2020 2 次提交
  18. 20 8月, 2020 1 次提交
  19. 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
  20. 15 8月, 2020 1 次提交
  21. 13 8月, 2020 1 次提交
  22. 12 8月, 2020 1 次提交
  23. 06 8月, 2020 1 次提交
  24. 06 7月, 2020 1 次提交
    • C
      add Pad2D and LeakyReLU (#25177) · fc0da42b
      ceci3 提交于
      * add Pad2D and Leaky_ReLU, test=develop
      
      * update,test=develop
      
      * change name,test=develop
      
      * add unittest and redine docs,test=develop
      fc0da42b
  25. 12 5月, 2020 1 次提交
  26. 26 4月, 2020 1 次提交
  27. 14 4月, 2020 1 次提交
    • F
      Add row_conv and hsigmoid into paddle.nn(functional and layer) (#23517) · 600cb8c8
      Feiyu Chan 提交于
      * add approximation for gelu, test=develop
      
      * add functional conv
      
      * add test and doc for function convs, test=develop
      
      * update ConvTransposeOp's InferShape and error message, test=develop
      
      * add hsigmoid, row_conv in paddle.nn(functional and layer), test=develop
      
      * fix hyperlinks in docstring
      600cb8c8
  28. 11 4月, 2020 1 次提交