1. 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
  2. 07 7月, 2020 1 次提交
  3. 04 7月, 2020 1 次提交
  4. 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
  5. 12 6月, 2020 1 次提交
  6. 28 5月, 2020 1 次提交
  7. 14 5月, 2020 1 次提交
  8. 30 4月, 2020 1 次提交
  9. 18 4月, 2020 1 次提交
  10. 17 4月, 2020 1 次提交
  11. 15 4月, 2020 1 次提交
  12. 09 4月, 2020 1 次提交
  13. 07 4月, 2020 2 次提交
  14. 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
  15. 02 4月, 2020 1 次提交
  16. 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
  17. 17 3月, 2020 1 次提交
  18. 16 3月, 2020 1 次提交
  19. 09 3月, 2020 2 次提交
  20. 03 3月, 2020 1 次提交
  21. 28 2月, 2020 1 次提交
  22. 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
  23. 23 2月, 2020 1 次提交
  24. 11 2月, 2020 1 次提交
  25. 07 2月, 2020 1 次提交
    • A
      polish no_grad_set of gradient and append_backward (#22440) · 50af6b5d
      Aurelius84 提交于
      * polish backward api doc test=develop, test=document_preview,
             test=document_fix
      
      * polish backward api doc test=develop, test=document_preview, test=document_fix
      
      * no_grad supports set of Variable test=develop, test=document_preview
      
      * polish sample code of append_backward test=develop, test=document_preview
      
      * modify assert into Raise TypeError test=develop,test=document_preview
      
      * fix unittest failed test=develop
      
      * rm useless file test=develop
      
      * polish en doc test=develop
      
      * polish code of no_grad_set test=develop
      
      * polish code of no_grad_set test=develop
      50af6b5d
  26. 16 1月, 2020 2 次提交
  27. 15 1月, 2020 1 次提交
  28. 14 1月, 2020 1 次提交
  29. 09 1月, 2020 3 次提交
    • 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
    • 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
    • L
      update layers used in transformer dygraph model, test=develop (#22051) · 51cb918a
      Leo Chen 提交于
      * update layers, test=develop
      
      * update layers for resnet, test=develop
      
      * fix is_test attr, test=develop
      
      * update cycle_gan, test=develop
      
      * update reinforcement_learning, test=develop
      
      * update ocr, test=develop
      
      * fix bug, test=develop
      51cb918a
  30. 07 1月, 2020 1 次提交
  31. 04 1月, 2020 1 次提交
    • L
      control flow: support optimizer called (#21851) · 7d8d4599
      liym27 提交于
      * append optimize op in the grad block of current block if current block is in control flow. test=develop
      
      * add conditional grad op when optimizer used in control flow. test=develop
      
      * add comment and modify typo. test=develop
      
      * fix append_backward to support control flow. test=develop
      
      * add test. test=develop
      
      * fix copy_var_to_parent_block and conditional_block_grad. test=develop
      
      * fix bug: revert to append conditional_block_grad vars to sub grad block. test=develop
      
      * fix bug: revert to assign var to parent block even if var already is in parent block
      
      * fix bug: consider outputs is empty. test=develop
      
      * move _rename_grad_ out. test=develop
      
      * modify code according to reviews from Huihuang. test=develop
      
      * modify code according to reviews from Jinle. test=develop
      7d8d4599
  32. 01 1月, 2020 1 次提交
  33. 31 12月, 2019 2 次提交
  34. 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