1. 24 8月, 2020 1 次提交
    • 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
  2. 23 8月, 2020 4 次提交
  3. 22 8月, 2020 3 次提交
  4. 21 8月, 2020 2 次提交
  5. 20 8月, 2020 1 次提交
  6. 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
  7. 15 8月, 2020 1 次提交
  8. 13 8月, 2020 1 次提交
  9. 12 8月, 2020 1 次提交
  10. 06 8月, 2020 1 次提交
  11. 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
  12. 12 5月, 2020 1 次提交
  13. 26 4月, 2020 1 次提交
  14. 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
  15. 11 4月, 2020 1 次提交
  16. 10 4月, 2020 1 次提交
  17. 09 4月, 2020 1 次提交
  18. 02 4月, 2020 1 次提交
    • L
      Dev/add l1 loss (#23322) · f944b0f6
      Leo Chen 提交于
      * add L1Loss
      
      * support L1Loss, test=develop
      
      * add test, test=develop
      
      * fix batch, test=develop
      
      * follow comments, test=develop
      f944b0f6
  19. 23 3月, 2020 1 次提交
  20. 17 9月, 2018 1 次提交
  21. 03 9月, 2018 1 次提交
  22. 15 8月, 2018 1 次提交
  23. 26 7月, 2018 1 次提交
  24. 18 6月, 2018 1 次提交
  25. 09 6月, 2018 1 次提交
  26. 24 5月, 2018 1 次提交
  27. 18 5月, 2018 1 次提交
  28. 17 5月, 2018 2 次提交
  29. 16 5月, 2018 1 次提交
  30. 12 5月, 2018 1 次提交
    • Q
      Add inferencer infer (#10445) · 2a971f30
      Qiao Longfei 提交于
      * add Inference.infer
      
      * optimize code
      
      * update no_test_word2vec_new_api.py
      
      * update trainer
      
      * split check_and_get_place
      
      * use inference_program to save inference model in Trainer
      
      * update demo
      
      * update save_inference_model
      
      * clean code
      2a971f30
  31. 05 5月, 2018 1 次提交
    • J
      Trainer save load params (#10386) · bd66eed5
      Jeff Wang 提交于
      * Load/save the params from the params_path
      
      * Switch to use load_persistables and save_persistables
      
      * Instaed of setup the executor to run program and scope. Pass the program to the load_persistables
      bd66eed5
  32. 03 5月, 2018 1 次提交
    • H
      improve trainer API · a66052c6
      Helin Wang 提交于
      - The trainer and inferencer will load params from disk if param_path
        argument is not None in their constructor.
      
      - Remove params.py, we will expose core.Scope to the user if needed
        (e.g., for GAN). Currently we will not expose it, unless we clearly
        know doing so can support GAN.
      
      - Add `save_params` to Trainer (a TODO item).
      
      - rename "network" to "program"
      a66052c6