1. 04 6月, 2020 1 次提交
  2. 15 5月, 2020 1 次提交
    • L
      Support int32 int64 and fix bug (#24407) · 615a8bfc
      liym27 提交于
      * Compatible int32 and int64 for attr in op slice/strided_slice. test=develop
      
      * Polish code in nn.py  test=develop
      
      * Fix bug: set the same dtype for the inputs of elementwise_add. test=develop
      
      * Convert int32 to int64 in slice op to avoid data overflow. test=develop
      
      * Convert int32 to int64 in strided_slice_op to avoid data overflow. test=develop
      615a8bfc
  3. 14 5月, 2020 1 次提交
  4. 08 5月, 2020 1 次提交
  5. 07 5月, 2020 1 次提交
  6. 06 5月, 2020 1 次提交
  7. 29 4月, 2020 1 次提交
  8. 28 4月, 2020 1 次提交
  9. 27 4月, 2020 1 次提交
    • C
      [dy2static] Add print transformer and unify print format (#24068) · 9b851ba2
      Chen Weihang 提交于
      * add print transformer & unify print format, test=develop
      
      * remove using of dygraph_to_static_func, test=develop
      
      * remove python stdout capture, test=develop
      
      * fix compatibility problems for PY2, test=develop
      
      * fix detail error, test=develop
      
      * fix type analysis bug, test=develop
      
      * fix print tuple compatible error in PY2, test=develop
      
      * replace get_func to declarative, test=develop
      
      * fix detail bug, test=develop
      
      * fix some detail problems, test=develop
      
      * change visit_call in print transformer, test=develop
      9b851ba2
  10. 26 4月, 2020 2 次提交
  11. 24 4月, 2020 2 次提交
  12. 23 4月, 2020 1 次提交
    • Y
      Init complex number neural network (#24018) · 720d1899
      Yibing Liu 提交于
      * Init complex number neural network, test=develop
      
      * Improve doc writing, test=develop
      
      * Fix elementwise add & sub, test=develop
      
      * Fix elementwise mul act, test=develop
      
      * a) add ut for complex variable; b) remove arg act in elementwise_ops. test=develop
      720d1899
  13. 20 4月, 2020 1 次提交
  14. 10 4月, 2020 1 次提交
  15. 09 4月, 2020 2 次提交
  16. 08 4月, 2020 1 次提交
    • G
      Add a function to update FLAGS (#22851) · ca7bd2be
      guofei 提交于
      * Add a function to update FLAGS
      
      test=develop
      
      * Add a function to update FLAGS
      
      test=develop
      
      * expr flags
      
      * Add a function to update FLAGS
      
      test=develop
      
      * distinguish public/private vars, test=develop
      
      * fix windows issues, test=develop
      
      * expr flag
      
      * Add functions to get and set FLAGS
      
      test=develop
      
      * Add functions to get and set FLAGS
      
      test=develop
      
      * Add functions to get and set FLAGS
      
      test=develop
      
      * Add functions to get and set flags
      
      test=develop
      
      * Add functions to get and set FLAGS
      
      test=develop
      
      * Add a function to update FLAGS
      
      test=develop
      
      * Add a function to update FLAGS
      
      test=develop
      
      * Add functions to get and set flags in Paddle
      
      test=develop
      Co-authored-by: Nsneaxiy <sneaxiy@126.com>
      ca7bd2be
  17. 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
  18. 02 4月, 2020 1 次提交
  19. 09 3月, 2020 1 次提交
  20. 03 3月, 2020 2 次提交
  21. 02 3月, 2020 1 次提交
  22. 26 2月, 2020 2 次提交
  23. 23 2月, 2020 1 次提交
  24. 14 1月, 2020 2 次提交
  25. 08 1月, 2020 1 次提交
  26. 07 1月, 2020 1 次提交
  27. 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
  28. 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
  29. 22 12月, 2019 1 次提交
  30. 20 12月, 2019 1 次提交
    • L
      Copy stop_gradient property of variable in clone (#21825) · 25e765a4
      Leo Chen 提交于
      * copy stop_gradient property in clone, test=develop
      
      * fix pruning issue, test=develop
      
      * fix kLookupTablePath issue, test=develop
      
      * sync program, test=develop
      
      * copy subblocks, test=develop
      
      * add unittests, test=develop
      25e765a4
  31. 16 12月, 2019 1 次提交
  32. 09 12月, 2019 1 次提交
    • L
      Refine VarBase init function (#21587) · 4f81d1bd
      Leo Chen 提交于
      * refine init function, test=develop
      
      * add tests, test=develop
      
      * remove extern, which may cause symbol error in gcc-4.8, test=develop
      4f81d1bd
  33. 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
  34. 03 12月, 2019 1 次提交
    • 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