1. 02 9月, 2020 1 次提交
  2. 24 8月, 2020 1 次提交
  3. 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
  4. 21 8月, 2020 1 次提交
  5. 16 8月, 2020 1 次提交
  6. 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
  7. 05 8月, 2020 1 次提交
  8. 30 7月, 2020 3 次提交
  9. 28 7月, 2020 1 次提交
  10. 27 7月, 2020 1 次提交
  11. 24 7月, 2020 1 次提交
  12. 13 7月, 2020 1 次提交
  13. 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
  14. 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
  15. 07 7月, 2020 1 次提交
  16. 04 7月, 2020 1 次提交
  17. 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
  18. 12 6月, 2020 1 次提交
  19. 28 5月, 2020 1 次提交
  20. 14 5月, 2020 1 次提交
  21. 30 4月, 2020 1 次提交
  22. 18 4月, 2020 1 次提交
  23. 17 4月, 2020 1 次提交
  24. 15 4月, 2020 1 次提交
  25. 09 4月, 2020 1 次提交
  26. 07 4月, 2020 2 次提交
  27. 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
  28. 02 4月, 2020 1 次提交
  29. 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
  30. 17 3月, 2020 1 次提交
  31. 16 3月, 2020 1 次提交
  32. 09 3月, 2020 2 次提交
  33. 03 3月, 2020 1 次提交
  34. 28 2月, 2020 1 次提交
  35. 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
  36. 23 2月, 2020 1 次提交