1. 24 7月, 2020 1 次提交
    • Q
      Refine Model of high level API (#25559) · b5f8784c
      qingqing01 提交于
      * Refine Model
      
      1. Take the network (instance of Layer) as the input of Model.
      2. Refine set_dict/load_dict of Layer.
      3. Refine Input interface, so update code sample about Input
      b5f8784c
  2. 03 7月, 2020 1 次提交
  3. 29 6月, 2020 1 次提交
    • A
      [Dy2stat]Support buffers and register_buffer in Layer (#24888) · 02adf68d
      Aurelius84 提交于
      * support to save varBase created in __init__ test=develop
      
      * polish code test=develop
      
      * refine to_static_var test=develop
      
      * refine warning test=develop
      
      * add unitteset for to_static_var test=develop
      
      * fix logger test=develop
      
      * polish buffers en doc test=develop
      
      * fix param_guard test=develop
      
      * refine en doc test=develop
      02adf68d
  4. 14 5月, 2020 1 次提交
  5. 08 5月, 2020 1 次提交
  6. 09 4月, 2020 1 次提交
    • S
      support Layer level train/eval mode (#22463) · b11340a4
      songyouwei 提交于
      * Layer add training attr, add Dropout Layer
      
      * add unit test for Dropout
      test=develop
      
      * minor fix
      test=develop
      
      * add missing args
      test=develop
      
      * support global flag in dropout, add docs
      test=develop
      
      * minor fix
      test=develop
      
      * minor fix
      test=develop
      
      * refine code comments
      test=develop
      
      * refine Dropout
      test=develop
      
      * fix ut
      test=develop
      
      * arg expansion
      test=develop
      
      * sample code update
      test=develop
      
      * prop -> p
      test=develop
      
      * fix ut
      test=develop
      
      * minor check fix
      test=develop
      b11340a4
  7. 07 4月, 2020 1 次提交
  8. 03 4月, 2020 1 次提交
    • Z
      support forward hook for dygraph (#22443) · 166a1ae9
      zhongpu 提交于
      * support forward hook for dygraph, test=develop
      
      * add optest for forward_hook in dygraph, test=develop
      
      * add optest, test=develop
      
      * polish code, test=develop
      
      * add sample code, test=develop
      
      * rename forwrd_hook to forward_post_hook, test=develop
      
      * fix the api description, test=develop
      
      * fix api description, test=develop
      166a1ae9
  9. 17 2月, 2020 1 次提交
  10. 17 1月, 2020 1 次提交
  11. 09 1月, 2020 2 次提交
    • S
      named_sublayers and named_parameters (#21868) · 83037e55
      songyouwei 提交于
      * use snake_cased Layer name
      
      * add named_parameters and named_sublayers api
      
      * add include_sublayers param, add unittest
      test=develop
      
      * fix named unittests
      test=develop
      
      * fix unittest
      test=develop
      
      * add api docs
      test=develop
      
      * arg fix
      test=develop
      
      * reserve rnn_impl name_scope for static graph
      test=develop
      
      * fix load static param
      test=develop
      
      * fix load static param
      test=develop
      83037e55
    • Z
      add clear_gradients for Optimizer and add clear_gradients api description (#21948) · 7d10edc5
      zhongpu 提交于
      * add clear_gradients for Optimizer, add api description, test=develop
      
      * fix optest for optimizer's clear_gradient interface, test=develop
      
      * add sample code, test=develop
      
      * polish sample code, test=develop
      7d10edc5
  12. 07 1月, 2020 1 次提交
    • H
      Support dygraph structuerd name (#21930) · 2f49cf70
      hong 提交于
      * support dygraph structured name; test=develop
      
      * add load static param unitest and fix save load; test=develop
      
      * fix varBase import error; test=develop
      
      * fix unitest error; test=develop
      
      * add comment for parameter; test=develop
      
      * fix uni test error; test=develop
      
      * change parallel se-resnet; test=develop
      
      * fix dygraph se resnext parallel test; test=develop
      
      * remove useless code; test=develop
      
      * remove useless code; test=develop
      2f49cf70
  13. 27 12月, 2019 1 次提交
    • Z
      remove params in Tracer object (in dygraph) (#20815) · dca07583
      zhongpu 提交于
      * remove params in Tracer object, test=develop
      
      * Repair failed optest, test=develop
      
      * remove build_once & name_scope (Conv2D)
      test=develop
      
      * fix unittest
      test=develop
      
      * Conv2DTranspose
      
      * Conv3D & Conv3DTranspose
      test=develop
      
      * Pool2D & BatchNorm
      
      * Embedding
      
      * LayerNorm
      
      * GRUUnit & NCE
      
      * PRelu
      
      * BilinearTensorProduct
      
      * GroupNorm & SpectralNorm
      
      * TreeConv
      test=develop
      
      * fix LayerNorm in transformer unnittest
      test=develop
      
      * disable LayerNorm or BatchNorm in multicard
      test=develop
      
      * refine Layer.create_parameter api
      test=develop
      
      * refine LayerNorm, remove begin_norm_axis param, add normed shape check
      test=develop
      
      * LayerNorm bug fix
      test=develop
      
      * fix optest,test=develop
      
      * fix optest, test=develop
      
      * fix optest for pass parameter_list when constructing an Optimizer class instance, test=develop
      
      * polish code for better code style, test=develop
      
      * fix se_resnext optest, test=develop
      
      * polish code for better code style, test=develop
      Co-authored-by: Nsongyouwei <youwei0314@gmail.com>
      dca07583
  14. 24 12月, 2019 1 次提交
  15. 17 12月, 2019 1 次提交
    • Y
      remove build_once & name_scope (#21131) · f6144d84
      Youwei Song 提交于
      * remove build_once & name_scope (Conv2D)
      test=develop
      
      * fix unittest
      test=develop
      
      * Conv2DTranspose
      
      * Conv3D & Conv3DTranspose
      test=develop
      
      * Pool2D & BatchNorm
      
      * Embedding
      
      * LayerNorm
      
      * GRUUnit & NCE
      
      * PRelu
      
      * BilinearTensorProduct
      
      * GroupNorm & SpectralNorm
      
      * TreeConv
      test=develop
      
      * fix LayerNorm in transformer unnittest
      test=develop
      
      * disable LayerNorm or BatchNorm in multicard
      test=develop
      
      * refine Layer.create_parameter api
      test=develop
      
      * refine LayerNorm, remove begin_norm_axis param, add normed shape check
      test=develop
      
      * LayerNorm bug fix
      test=develop
      f6144d84
  16. 05 12月, 2019 1 次提交
    • L
      Split VarBase from Python Variable for Dygraph (#21359) · cdd46d7e
      Leo Chen 提交于
      * test=develop, fix docker with paddle nccl problem
      
      * don't expose numerous Tensor.set(), test=develop
      
      * fix condition, test=develop
      
      * fix float16 bug, test=develop
      
      * feed should be Tensor or np.array, not Variable or number, test=develop
      
      * use forcecast to copy numpy slice to new array, test=develop
      
      * remove float16-uint16 hacking, test=develop
      
      * add variable method to varbase and refactor to_variable to support return varbase
      
      * support kwargs in varbase constructor
      
      * add VarBase constructor to support default python args
      
      * refine varbase initial method
      
      * reset branch
      
      * fix ut for change VarBase error info to PaddleEnforce
      
      * cherry is parameter change before
      
      * overload isinstance to replace too many change of is_variable
      
      * rm useless files
      
      * rm useless code merged by git
      
      * test=develop, fix some ut failed error
      
      * test=develop, fix test_graph_wrapper
      
      * add some tests, test=develop
      
      * refine __getitem__, test=develop
      
      * add tests, test=develop
      
      * fix err_msg, test=develop
      cdd46d7e
  17. 23 10月, 2019 1 次提交
  18. 12 10月, 2019 1 次提交
    • Y
      fix en docs of Layer and guard (#20512) · 9a09ff14
      Youwei Song 提交于
      * fix en docs of Layer and guard
      test=document_fix, test=develop
      
      * fix en docs of Layer and guard
      test=document_fix, test=develop
      
      * minor fix
      test=document_fix, test=develop
      
      * minor fix
      test=document_fix, test=develop
      
      * fix api.spec
      test=document_fix, test=develop
      
      * fix api.spec
      test=document_fix, test=develop
      
      * fix docs
      test=document_fix, test=develop
      
      * fix docs
      test=document_fix, test=develop
      
      * fix docs
      test=document_fix, test=develop
      
      * fix api.spec
      test=document_fix, test=develop
      
      * fix api.spec
      test=document_fix, test=develop
      
      * add forward doc
      test=document_fix, test=develop
      
      * add "s" for parameters
      test=document_fix, test=develop
      9a09ff14
  19. 10 10月, 2019 1 次提交
    • H
      New save load interface (#20148) · fa43e80e
      hong 提交于
      * add new save load interface; test=develop
      
      * add new save interface; test=develop
      
      * add save load interface ;
      
      * fix save load error;
      
      * fix dygraph set dict bug;
      
      * add save load unit test; test=develop
      
      * fix test_imperative_optimizer bug; test=develop
      
      * fix unitest optimizer bug; test=develop
      
      * fix code coverage; test=develop
      
      * fix converage; test=develop
      
      * add document for apis; test=develop
      
      * fix unitest error; test=develop
      
      * fix save load unit test error; test=develop
      
      * fix error message; test=develop
      
      * change set_parameter set_optimizer to save_dygraph; test=develop
      
      * add load_graph check; test=develop
      
      * fix api spec; test=develop
      fa43e80e
  20. 28 9月, 2019 1 次提交
    • Y
      Dygraph Layer kwargs & param getter setter (#19901) · 54e07994
      Youwei Song 提交于
      * opt FC
      
      * opt rest of dygraph.nn
      
      * new param shape check and unittest
      
      * add kwargs for Layer
      
      * add new set_value api
      
      * use property decorator
      
      * update API.spec, test=develop
      
      * use UserList, separate gettersetters, test=develop
      
      * update test_custom_layer_with_kwargs, test=develop
      
      * fix UserList compatibility, test=develop
      
      * fix UserList compatibility, test=develop
      
      * keep FC._w, test=develop
      
      * add unittests, Conv3D bug fix, test=develop
      
      * clean code, test=develop
      
      * fix dygraph guard in unittest, test=develop
      
      * add property setters, remove unused param in tracer, test=develop
      
      * tracer none check, test=develop
      
      * merge, test=develop
      
      * refine, test=develop
      
      * bug fix in  prelu and conv3d_transpose, test=develop
      
      * rm __set__, test=develop
      
      * set tensor value instead of assign op
      
      * fix property setter call, test=develop
      
      * fix api.spec, test=develop
      
      * fix doc sample, test=develop
      54e07994
  21. 26 8月, 2019 1 次提交
  22. 06 6月, 2019 1 次提交
  23. 03 6月, 2019 1 次提交
  24. 29 5月, 2019 2 次提交
  25. 27 5月, 2019 1 次提交
  26. 24 5月, 2019 1 次提交
  27. 30 4月, 2019 1 次提交
  28. 19 4月, 2019 1 次提交
  29. 17 4月, 2019 1 次提交
  30. 16 4月, 2019 1 次提交
  31. 15 4月, 2019 1 次提交
  32. 03 4月, 2019 1 次提交
  33. 28 3月, 2019 1 次提交
  34. 26 3月, 2019 1 次提交
    • J
      add layer norm to Layers, add transformer test in imperative mode (#16092) · f735102e
      Jiabin Yang 提交于
      * add layer norm to Layers, add transformer prepare encoding
      
      * little change
      
      * finish encoder part
      
      * add decoder part
      
      * finish model part
      
      * add test case and part of data feed
      
      * add transformer test
      
      * add to_parameter, add remove in set_attr
      
      * test=develop, fix pos encoding bug, create_parameter with stantard name
      
      * test=develop, rm dropout test in imperative
      
      * test=develop, fix cpu error
      
      * test=develop, fix minize bug
      
      * test=develop, fix one hot not stop gradient
      
      * test=develop, fix one hot not stop gradient
      
      * test=develop, refine parameter name
      
      * test=develop, fix transformer test in imperative mode
      
      * test=develop, fix transformer test in imperative mode
      
      * test=develop, fix boost and mkl download error
      
      * test=develop, fix boost and mkl download error
      
      * test=develop, fix ci and refine code
      
      * test=develop, fix ci and refine code
      f735102e
  35. 20 3月, 2019 1 次提交
  36. 11 3月, 2019 1 次提交
    • Q
      Imperative remove all descs (#16045) · 1f4aa7a2
      Qiyang Min 提交于
      * Remove Desc in Forward Pass
      
      * Refactor VarBase
      
      * Add dbg info
      
      * Only check type in imperative mode
      
      * Polish code and support optimizer
      
      test=develop
      
      * Fix stop gradient problem in PyLayer
      
      test=develop
      1f4aa7a2
  37. 06 3月, 2019 2 次提交
    • J
      test=develop, reconstruct layer helper to fit imperative usage (#15938) · ab19d92e
      Jiabin Yang 提交于
      * test=develop, reconstruct layer helper to fit imperative usage
      
      * test=develop, fix import error on py35
      
      * test=develop, fix rnn gradient error
      
      * test=develop, delete test use code
      
      * test=develop, remove helper from imperative usage
      
      * test=develop, fix test_base_layer using new helper
      
      * test=develop, reconstruct layerhelper for imperative mode
      
      * test=develop, reconstruct layerhelper for imperative mode
      
      * test=develop, fix bug
      
      * test=develop, fix test failed bug
      
      * test=develop, fix test failed bug
      
      * test=develop, fix test failed bug
      
      * test=develop, fix bug
      
      * test=develop, polish code
      ab19d92e
    • J
      test=develop, reconstruct layer helper to fit imperative usage (#15938) · 654825cf
      Jiabin Yang 提交于
      * test=develop, reconstruct layer helper to fit imperative usage
      
      * test=develop, fix import error on py35
      
      * test=develop, fix rnn gradient error
      
      * test=develop, delete test use code
      
      * test=develop, remove helper from imperative usage
      
      * test=develop, fix test_base_layer using new helper
      
      * test=develop, reconstruct layerhelper for imperative mode
      
      * test=develop, reconstruct layerhelper for imperative mode
      
      * test=develop, fix bug
      
      * test=develop, fix test failed bug
      
      * test=develop, fix test failed bug
      
      * test=develop, fix test failed bug
      
      * test=develop, fix bug
      
      * test=develop, polish code
      654825cf