1. 03 9月, 2020 1 次提交
    • C
      Update set_dict method name & add aliases (#26700) · 9cb57f94
      Chen Weihang 提交于
      * update set_dict method name & add aliases
      
      * fix var name error
      
      * fix alias formats
      
      * use set_state_dict in unittest
      
      * add decorator solve compatible problem
      
      * polish decorator
      
      * replace layer set_state_dict by patched method
      
      * remove import monkey path layer
      
      * fix import function error
      
      * add unittest for coverage
      9cb57f94
  2. 02 9月, 2020 1 次提交
  3. 24 8月, 2020 1 次提交
  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. 21 8月, 2020 1 次提交
  6. 16 8月, 2020 1 次提交
  7. 14 8月, 2020 1 次提交
    • Y
      Upgrade `no_grad` decorator (#25472) · 617eb67f
      Yang Zhang 提交于
      * Upgrade `no_grad` decorator
      
      test=develop
      
      - match torch decorator usage (i.e., with parenthesis)
      - handle generator functions
      - add `paddle.no_grad` alias
      
      * Switch from `functools` to `decorator`
      
      preserves signature
      
      * Reword decorator usage note
      617eb67f
  8. 05 8月, 2020 1 次提交
  9. 30 7月, 2020 3 次提交
  10. 28 7月, 2020 1 次提交
  11. 27 7月, 2020 1 次提交
  12. 24 7月, 2020 1 次提交
  13. 13 7月, 2020 1 次提交
  14. 10 7月, 2020 1 次提交
    • Z
      fix state dict to save/load learning rate scheduler (#25403) · 914ff10a
      Zhou Wei 提交于
      * fix optimizer.state_dict and LRScheduler.state_dict to save/load dygraph,test=develop
      
      * fix optimizer.state_dict and LRScheduler.state_dict to save/load dygraph,test=develop
      
      * Add a judgment that state_dict/set_dict is used incorrectly,test=develop
      
      * fix some doc error,test=develop
      
      * fix current_step_lr for _LearningRateEpochDecay,test=develop
      
      * remove some unsed code to improve coverage,test=develop
      
      * remove some unsed code to improve coverage,test=develop
      914ff10a
  15. 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
  16. 07 7月, 2020 1 次提交
  17. 04 7月, 2020 1 次提交
  18. 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
  19. 12 6月, 2020 1 次提交
  20. 28 5月, 2020 1 次提交
  21. 14 5月, 2020 1 次提交
  22. 30 4月, 2020 1 次提交
  23. 18 4月, 2020 1 次提交
  24. 17 4月, 2020 1 次提交
  25. 15 4月, 2020 1 次提交
  26. 09 4月, 2020 1 次提交
  27. 07 4月, 2020 2 次提交
  28. 03 4月, 2020 1 次提交
    • L
      [feature] prune program by feed and fetch_list automatically (#22474) · a62599a8
      Leo Chen 提交于
      * prune train program by fetch_list, test=develop
      
      * add unittest for prune, test=develop
      
      * fix pruned feed, test=develop
      
      * support ParallelExecutor and feed prune, test=develop
      
      * add comments, test=develop
      
      * update unittest, test=develop
      
      * update unittests, test=develop
      
      * remove debug code, test=develop
      
      * support cond in clone, test=develop
      
      * support cond in prune, test=develop
      
      * support multiple minimize, test=develop
      
      * support cache, test=develop
      
      * fix _copy_param_info_from, test=develop
      
      * support python2 str, test=develop
      
      * remove debug code, test=develop
      
      * fix bug of caching CompiledProgram, test=develop
      
      * fix multi_device issue, test=develop
      
      * tmp
      
      * support tuple in fetch_list and overriding use_prune, test=develop
      
      * dont use nonlocal in python2, test=develop
      
      * remove nonlocal, test=develop
      
      * code clean, test=develop
      
      * code clean, test=develop
      
      * feed list, test=develop
      
      * test adam, test=develop
      
      * follow comments, test=develop
      
      * reduce duplicate code, test=develop
      
      * update comments, test=develop
      a62599a8
  29. 02 4月, 2020 1 次提交
  30. 31 3月, 2020 1 次提交
    • L
      Feature/expand params in auto-generated pybind functions for dygraph operators (#23181) · 488b2387
      Leo Chen 提交于
      * expand parameters, test=develop
      
      * support resnet, test=develop
      
      * fix resnet, test=develop
      
      * support duplicable out, test=develop
      
      * support ptb
      
      * fix bugs, test=develop
      
      * support null input, test=develop
      
      * fix bugs, test=develop
      
      * fix batchNorm is_test, test=develop
      
      * refine code, test=develop
      
      * follow comments, test=develop
      
      * follow comments, test=develop
      
      * follow comments, test=develop
      
      * follow comments, test=develop
      488b2387
  31. 17 3月, 2020 1 次提交
  32. 16 3月, 2020 1 次提交
  33. 09 3月, 2020 2 次提交
  34. 03 3月, 2020 1 次提交
  35. 28 2月, 2020 1 次提交
  36. 27 2月, 2020 1 次提交
    • Z
      Refine adam op to improve performance, test=develop (#22346) · 72dde4ab
      zhaoyuchen2018 提交于
      * Refine adam op, test=develop
      
      * Fuse kernels together to reduce cpu time.
      
      * Refine paddle enforce, test=develop
      
      * Remove some comments, test=develop
      
      * Refine code,test=develop
      
      * Refine cuda kernel, test=develop
      
      * Refine code according to comments, test=develop
      72dde4ab