1. 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
  2. 17 3月, 2020 1 次提交
  3. 16 3月, 2020 1 次提交
  4. 09 3月, 2020 2 次提交
  5. 03 3月, 2020 1 次提交
  6. 28 2月, 2020 1 次提交
  7. 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
  8. 23 2月, 2020 1 次提交
  9. 11 2月, 2020 1 次提交
  10. 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
  11. 16 1月, 2020 2 次提交
  12. 15 1月, 2020 1 次提交
  13. 14 1月, 2020 1 次提交
  14. 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
  15. 07 1月, 2020 1 次提交
  16. 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
  17. 01 1月, 2020 1 次提交
  18. 31 12月, 2019 2 次提交
  19. 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
  20. 24 12月, 2019 2 次提交
    • A
      Optimize adam speed (#21777) · 51a86d2b
      Aurelius84 提交于
      * optimize adam speed by removing _finish_update test=develop
      
      * fix SparseAdamFunctor param list test=develop
      
      * Remove scale_op in expect_list of adam_op test=develop
      
      * fix test optimizer loss assert error test=develop
      
      * fix test optimizer loss assert error test=develop
      
      * modify PADDLE_ENFORCE usage test=develop
      
      * fix op_type in lamb_op.cc test=develop
      
      * fix errors ostream format bug test=develop
      
      * add betaPowOut in ngraph op test=develop
      
      * fix ngraph::op api for gcc8 test=develop
      
      * clean code test=develop
      
      * modify struct into class test=develop
      
      * remove code of beta1Tensor in lamb_op test=develop
      51a86d2b
    • L
      Update layers used in ptb model to use auto-generated op functions in dygraph mode (#21724) · 310edc0d
      Leo Chen 提交于
      * update layers, test=develop
      
      * fix input numpy, test=develop
      
      * fix bugs, test=develop
      
      * follow commments, test=develop
      
      * update getitem, test=develop
      310edc0d
  21. 22 12月, 2019 1 次提交
  22. 06 12月, 2019 1 次提交
  23. 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
  24. 04 12月, 2019 1 次提交
  25. 03 12月, 2019 3 次提交
    • Z
      support SelectedRows in dygraph, test=develop (#21078) · 6ebf0f47
      zhongpu 提交于
      * support SelectedRows in dygraph, test=develop
      
      * fix bug of _grad_ivar interface, test=develop
      
      * add optest for support seletedrows, test=develop
      
      * fix bug for gradient_accumulator in GPU mode, test=develop
      
      * fix error when Selectedrows addto LodTensor in sorted_gradient mdoe in dygraph, test=develop
      
      * refine and simplify gradient accumulator code, test=develop
      
      * add optest, test=develop
      
      * add optest and simplify code, test=develop
      
      * fix bug for test_imperative_selected_rows, test=develop
      
      * add optest for Coverage, test=develop
      
      * fix gradient interface and simplify code, test=develop
      
      * update api for gradient, test=develop
      
      * fix ShareDim's bug in DygraphExecutionContext class, test=develop
      
      * add optest, test=develop
      6ebf0f47
    • A
      Fix AdamOptimizer and Scale sample code Bug (#21478) · 4bf115b4
      Aurelius84 提交于
      * fix adam sample code bug test=document_fix
      
      * fix sample code bug in scale test=document_fix
      4bf115b4
    • Z
      fix adam fp64, test=develop (#21423) · 87ab93af
      Zeng Jinle 提交于
      87ab93af
  26. 28 11月, 2019 1 次提交
  27. 25 11月, 2019 1 次提交
  28. 12 11月, 2019 1 次提交
  29. 24 10月, 2019 1 次提交
  30. 18 10月, 2019 1 次提交
  31. 11 10月, 2019 2 次提交