1. 28 7月, 2020 1 次提交
    • D
      add more settings for distributed strategy (#25685) · 920d998f
      Dong Daxiang 提交于
      * add more settings for distributed strategy
      Basically, DistributedStrategy has several parts of configurations:
      - BuildStrategy: the same as paddle.fluid.BuildStrategy, but the distributed arguments are moved out of BuildStrategy
      - ExecutionStrategy: the same as paddle.fluid.ExecutionStrategy
      - collective communication configs: nccl_comm_num, hierarchical allreduce and so on
      - distributed algorithms: async_update(mainly used in PS), lars, lamb and so on
      920d998f
  2. 24 7月, 2020 1 次提交
    • Q
      Refine Model of high level API (#25559) · b5f8784c
      qingqing01 提交于
      * Refine Model
      
      1. Take the network (instance of Layer) as the input of Model.
      2. Refine set_dict/load_dict of Layer.
      3. Refine Input interface, so update code sample about Input
      b5f8784c
  3. 08 7月, 2020 1 次提交
  4. 06 7月, 2020 1 次提交
  5. 04 6月, 2020 3 次提交
  6. 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
  7. 14 5月, 2020 1 次提交
  8. 08 5月, 2020 1 次提交
  9. 07 5月, 2020 1 次提交
  10. 06 5月, 2020 1 次提交
  11. 29 4月, 2020 1 次提交
  12. 28 4月, 2020 1 次提交
  13. 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
  14. 26 4月, 2020 2 次提交
  15. 24 4月, 2020 2 次提交
  16. 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
  17. 20 4月, 2020 1 次提交
  18. 10 4月, 2020 1 次提交
  19. 09 4月, 2020 2 次提交
  20. 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
  21. 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
  22. 02 4月, 2020 1 次提交
  23. 09 3月, 2020 1 次提交
  24. 03 3月, 2020 2 次提交
  25. 02 3月, 2020 1 次提交
  26. 26 2月, 2020 2 次提交
  27. 23 2月, 2020 1 次提交
  28. 14 1月, 2020 2 次提交
  29. 08 1月, 2020 1 次提交
  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. 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