1. 01 9月, 2020 1 次提交
    • M
      update optimizer (#26711) · 1f36d3cd
      MRXLT 提交于
      * update doc
      
      * update doc
      
      * fix optimizer sample code
      
      * add default value for adamw weight_decay
      
      * fix adamw
      
      * change LearningRateDecay to _LRScheduler
      
      * fix adamw;notest
      
      * fix load;notest
      
      * remove file
      
      * bug fix
      
      * fix code style
      
      * bug fix
      
      * add ut
      
      * adamw support weight_decay=0
      
      * fix ut
      
      * fix set_lr doc
      
      * fix doc
      
      * change parameters place
      1f36d3cd
  2. 29 8月, 2020 1 次提交
    • J
      Adadelta Optimizer (#26590) · a1b99fae
      Jiawei Wang 提交于
      * add doc; notest
      
      * fix doc; notest
      
      * update doc; notest
      
      * refine optimizer && adam
      
      * refine optimizer; notest
      
      * add adam
      
      * fix doc
      
      * fix doc && add adamw; notest
      
      * add error message
      
      * bug fix
      
      * refine rmsprop && adamax
      
      * fix ci
      
      * buf fix
      
      * update comment
      
      * unify arguments place; notest
      
      * fix ut, test=develop
      
      * bug fix
      
      * fix conflicts, test=develop
      
      * add examples code
      
      * bug fix
      
      * fix comments
      
      * fix sample code
      
      * add sample code for Optimizer
      
      * add adamax ut, test=develop
      
      * fix rmsprop ut, test=develop
      
      * add ut for optimizer.py and adamw.py
      
      * first commit of adadelta optimizer
      
      * fix learning rate
      
      * fix adadelta doc and add sgd momentum
      
      * remove unused fluid
      
      * fix codestyle
      
      * Update test_adam_op.py
      
      * Update test_adam_op.py
      
      * fix SGD in 2 unittests
      
      * fix SGD in 2 unittests
      
      * fix ci
      
      * fix ut
      Co-authored-by: NMRXLT <xlt2024@gmail.com>
      Co-authored-by: Nmapingshuo <mps2012@yeah.net>
      a1b99fae
  3. 28 8月, 2020 2 次提交
    • L
      Refine paddle.manual_seed (#26496) · 844583c8
      Leo Chen 提交于
      * refine manual seed
      
      * fix ci problem
      
      * fix unittests
      
      * fix unittest
      
      * set is_init_py=false in manual_seed
      
      * fix unittest
      
      * fix bernoulli_op
      
      * fix(unittest): change random_seed to manual_seed
      
      * 🐞fix(unittest): fix manual_seed
      
      * trigger ci
      
      * fix test_sentiment
      
      * fix test_imperative_save_load
      
      * fix test_uniform_random_op
      
      * fix test_uniform_random_op
      
      * fix test_jit_save_load
      
      * merge develop
      
      * fix manual_seed
      
      * fix manual_seed
      
      * use global engine
      
      * use shared_ptr
      
      * fix double free
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix test bug
      
      * fix test bug
      
      * fix test bug
      
      * fix ci
      844583c8
    • Z
      [2.0API]support 2.0 lr_scheduler for 2.0 optimizer (#26737) · 30aab177
      Zhou Wei 提交于
      * support 2.0 lr_scheduler for 2.0 optimizer
      
      * fix unittest
      
      * fix doc
      
      * fix unittest
      
      * fix sample code, fix unittest
      30aab177
  4. 23 8月, 2020 1 次提交
    • M
      [WIP] update optimizer for 2.0 (#26288) · eeda90d6
      MRXLT 提交于
      refine Optimizer/Adam/Admax/RMSProp && add Admw
      
      * buf fix
      
      * update comment
      
      * unify arguments place; notest
      
      * fix ut, test=develop
      
      * bug fix
      
      * fix conflicts, test=develop
      
      * add examples code
      
      * bug fix
      
      * fix comments
      
      * fix sample code
      
      * add sample code for Optimizer
      
      * add adamax ut, test=develop
      
      * fix rmsprop ut, test=develop
      
      * add ut for optimizer.py and adamw.py
      
      * remove TestAdamOptimizerBetaVariable
      
      * update api && add ut
      
      * update doc && fix ut
      
      * add ut
      Co-authored-by: Nmapingshuo <mps2012@yeah.net>
      eeda90d6
  5. 08 7月, 2020 1 次提交
    • H
      Fix parameter list iterator bug (#25089) · fed05885
      hong 提交于
      * fix optimizer parameter is a iterator; test=develop
      
      * fix parameter list None bug; test=develop
      
      * use is not None; test=develop
      
      * change list to iterable; test=develop
      fed05885
  6. 01 7月, 2020 1 次提交
    • Z
      add new API: optimizer.set_lr (#24455) · c505c4db
      Zhou Wei 提交于
      * add new api: optimizer.set_lr, test=develop
      
      * add API doc and example code for optimizer.set_lr,test=develop
      
      * add API doc and example code for optimizer.set_lr,test=develop
      
      * Modified doc to :api_attr: imperative,test=develop
      c505c4db
  7. 19 2月, 2020 1 次提交
  8. 16 1月, 2020 1 次提交
  9. 09 1月, 2020 1 次提交
    • Z
      test Optimizer in dygraph (#21949) · d0f0a252
      zhongpu 提交于
      * test Optimizer in dygraph, test=develop
      
      * add optest for Optimizer in dygraph, test=develop
      
      * fix adagrad optimizer, test=develop
      
      * fix dpsgd optimizer, test=develop
      
      * fix test_optimizer.py, test=develop
      
      * fix dpsgd optimizer, this op only support cpu, test=develop
      
      * add optest for optimizer, test=develop
      
      * add description for dpsgd, test=develop
      
      * add rmsprop to white_list in unused_var_check.cc, test=develop
      
      * polish code style, test=develop
      
      * polish code style, test=develop
      
      * delete seed attribute for DpsgdOptimizer, test=develop
      
      * change testing to debugging, test=develop
      d0f0a252
  10. 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
  11. 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
  12. 06 6月, 2019 1 次提交
  13. 01 4月, 2019 1 次提交
  14. 29 3月, 2019 1 次提交
  15. 28 3月, 2019 2 次提交
  16. 27 3月, 2019 2 次提交
  17. 11 3月, 2019 1 次提交
  18. 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
  19. 04 3月, 2019 3 次提交
  20. 26 2月, 2019 1 次提交
  21. 25 2月, 2019 2 次提交
  22. 22 2月, 2019 2 次提交
  23. 21 2月, 2019 2 次提交
  24. 20 2月, 2019 1 次提交
  25. 18 2月, 2019 1 次提交
  26. 29 1月, 2019 1 次提交
  27. 28 1月, 2019 1 次提交
  28. 24 1月, 2019 1 次提交
  29. 23 1月, 2019 1 次提交
  30. 22 1月, 2019 1 次提交
  31. 16 1月, 2019 1 次提交