1. 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
  2. 11 8月, 2020 1 次提交
    • P
      Paddle-2.0 API directory migration (#25898) · 2efcb481
      pangyoki 提交于
      * Directory migration, test=develop
      
      * Change imperative from paddle init to paddle framework, test=develop
      
      * Fixed jit bug, test=develop
      
      * default static mode, test=develop
      
      * fixed format and create parameter belongs to framework, test=develop
      
      * Fixed import package, test=develop
      
      * fix __init__ format, test=develop
      
      * fixed alias problem
      
      * fixed paddle.enable_imperative problems, test=develop
      
      * Add unittest
      
      * delete install_check comment
      
      * Fixed unittest timeout
      
      * fixed unittest error
      
      * move Program default_xx_program to static package
      
      * optimize unittest method
      
      * fixed framework __init__ format
      
      * fixed jit path
      
      * delete alias
      
      * move jit to paddle
      
      * Fixed unittest format
      
      * fixed paddle.default_main_program
      
      * Fixed save load API in paddle __init__.py
      
      * fixed ci paddle.imperative.to_variable
      2efcb481
  3. 03 7月, 2020 1 次提交
  4. 29 6月, 2020 1 次提交
    • A
      [Dy2stat]Support buffers and register_buffer in Layer (#24888) · 02adf68d
      Aurelius84 提交于
      * support to save varBase created in __init__ test=develop
      
      * polish code test=develop
      
      * refine to_static_var test=develop
      
      * refine warning test=develop
      
      * add unitteset for to_static_var test=develop
      
      * fix logger test=develop
      
      * polish buffers en doc test=develop
      
      * fix param_guard test=develop
      
      * refine en doc test=develop
      02adf68d
  5. 21 5月, 2020 1 次提交
  6. 14 5月, 2020 1 次提交
  7. 08 5月, 2020 2 次提交
  8. 29 4月, 2020 1 次提交
  9. 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
  10. 14 4月, 2020 1 次提交
  11. 10 4月, 2020 1 次提交
  12. 09 4月, 2020 1 次提交
  13. 08 4月, 2020 1 次提交
  14. 27 3月, 2020 1 次提交
    • Z
      Expose dygraph.grad api (#23124) · 8bfd62ff
      Zeng Jinle 提交于
      * expose dygraph.grad api, test=develop, test=document_fix
      
      * add more parameter in dygraph.grad API, test=develop
      
      * add only_inputs=True parameter, test=develop
      
      * follow comments, test=develop, test=document_fix
      
      * fix typo, test=develop, test=document_fix
      8bfd62ff
  15. 25 3月, 2020 1 次提交
  16. 20 3月, 2020 1 次提交
    • Z
      Add dygraph double grad implementation (#22939) · a31d7328
      Zeng Jinle 提交于
      * add double grad implementation for dygraph, test=develop
      
      * polish code, add uts, test=develop
      
      * fix place bug, test=develop
      
      * polish codes, add more uts for coverages, test=develop
      
      * add no_grad_set, test=develop
      
      * add star gan ut, test=develop
      
      * follow comments, test=develop
      a31d7328
  17. 03 3月, 2020 1 次提交
    • S
      Add functional dygraph mode api (#22745) · df87e79f
      songyouwei 提交于
      * functional dygraph enable/disable
      test=develop
      
      * use context manager instead
      test=develop
      
      * refine sample code
      test=develop
      
      * rename api & expose to fluid
      test=develop
      
      * fix sample code
      test=develop
      df87e79f
  18. 08 1月, 2020 1 次提交
  19. 27 12月, 2019 2 次提交
    • L
      ba51043f
    • 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. 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
  21. 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
  22. 27 11月, 2019 1 次提交
    • Y
      Support numpy bridge (enabled by default in dygraph mode) (#20983) · d5ff79e5
      Youwei Song 提交于
      * add numpy bridge
      
      * fix template compile
      
      * add unittest, add default
      test=develop
      
      * fix unittest
      test=develop
      
      * fix unittest
      test=develop
      
      * zero_copy=True for to_variable,
      test=develop
      
      * bug fix
      test=develop
      
      * disable deprecated NumPy API
      test=develop
      
      * use better design of NumpyAllocator
      test=develop
      
      * fix Py_None check
      test=develop
      
      * reset c++ tracer when jump out dygraph guard
      test=develop
      
      * refine PADDLE_ENFORCE_xx format
      test=develop
      
      * bug fix of tracer switch
      test=develop
      
      * update decref
      test=develop
      d5ff79e5
  23. 14 11月, 2019 1 次提交
  24. 05 11月, 2019 1 次提交
  25. 01 11月, 2019 1 次提交
    • L
      Update Tensor.set() to support float16 (#19964) · 9974e407
      Leo Chen 提交于
      * 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
      9974e407
  26. 23 10月, 2019 1 次提交
  27. 12 10月, 2019 1 次提交
    • Y
      fix en docs of Layer and guard (#20512) · 9a09ff14
      Youwei Song 提交于
      * fix en docs of Layer and guard
      test=document_fix, test=develop
      
      * fix en docs of Layer and guard
      test=document_fix, test=develop
      
      * minor fix
      test=document_fix, test=develop
      
      * minor fix
      test=document_fix, test=develop
      
      * fix api.spec
      test=document_fix, test=develop
      
      * fix api.spec
      test=document_fix, test=develop
      
      * fix docs
      test=document_fix, test=develop
      
      * fix docs
      test=document_fix, test=develop
      
      * fix docs
      test=document_fix, test=develop
      
      * fix api.spec
      test=document_fix, test=develop
      
      * fix api.spec
      test=document_fix, test=develop
      
      * add forward doc
      test=document_fix, test=develop
      
      * add "s" for parameters
      test=document_fix, test=develop
      9a09ff14
  28. 11 10月, 2019 1 次提交
  29. 27 9月, 2019 1 次提交
    • J
      Optimze/optimize dygraph api (#19999) · 39ff0f9c
      Jiabin Yang 提交于
      * test=develop, fix docker with paddle nccl problem
      
      * test=develop, Add Variable api and refine dygraph related API
      
      * test=develop, Add Variable api and refine dygraph related API
      
      * test=develop, refine test for new api and error info
      
      * test=develop, refine error info and test_layers
      
      * test=develop, add API.spec
      
      * test=devleop, fix to_string python2 and python3 compat error and refien doc
      
      * test=devleop, add API spec
      
      * test=devleop, update API spec
      
      * test=devleop, update API spec
      
      * test=develop, invoke ci
      
      * test=develop, fix example code
      
      * test=develop, update API spec
      
      * test=develop, add compat test and fix inplace campat dict error
      39ff0f9c
  30. 17 9月, 2019 1 次提交
  31. 11 9月, 2019 1 次提交
    • Y
      fix api-doc error for dygraph and backward (#19721) · 3e5fb636
      Youwei Song 提交于
      * update dygraph api-doc and backward api-doc, test=develop
      
      * update dygraph api-doc and backward api-doc, update api.spec, test=develop
      
      * update dygraph api-doc and backward api-doc, update api.spec, test=develop
      
      * update API.spec, test=develop
      3e5fb636
  32. 05 9月, 2019 1 次提交
    • J
      Refactor dygraph (#19107) · e9233d1c
      Jiabin Yang 提交于
      * refactor dygraph,test=develop
      
      * fix failed unittest,test=develop
      
      * polish code,test=develop
      
      * check windows ci error,test=develop
      try to fix windows ci error by np.allclose,test=develop
      
      * polish vlog and profiler, test=develop
      
      * try to fix preceding ops order,test=develop
      
      * test transformer in windows ci, test=develop
      
      * use python c-api to speed up tracer.trace,test=develop
      
      * test=develop, fix docker with paddle nccl problem
      
      * test=develop, add ut for debug string and gradient_accumulator
      
      * test=develop, add tests for layer/gradient_accumulator/prepared_op
      
      * test=develop, fix complie error for test_prepared_op
      
      * test=develop, add more ut for dygraph
      
      * test=develop, create API.spec for dygraph api change
      
      * test=develop, refoctor name to make it easier to understand
      
      * test=develop, refoctor name to make it easier to understand
      
      * test=develop, fix multi-gpu failed problem , add Tracer tests, change PADDLEENFORCE to PADDLEENFORCE_EQ
      
      * test=develop, fix ut failed on parallel se-resnext
      
      * test=develop, change one more PADDLE_ENFORCE
      e9233d1c
  33. 10 7月, 2019 1 次提交
  34. 05 7月, 2019 1 次提交
    • J
      Hide no support (#18515) · 7586cdd5
      Jiabin Yang 提交于
      * test=develop, fix docker with paddle nccl problem
      
      * test=develop, hide no_support api and add ut for it
      7586cdd5
  35. 18 6月, 2019 1 次提交
  36. 10 6月, 2019 1 次提交
  37. 06 6月, 2019 2 次提交
    • J
      test=develop, add dygraph_not_support and refine ocr (#17868) · 4cb7d32c
      Jiabin Yang 提交于
      * test=develop, add dygraph_not_support and refine ocr
      
      * test=develop, shrink name of dygraph_not_support
      4cb7d32c
    • J
      Add optimizer save and load (#16986) · 022dfed4
      Jiabin Yang 提交于
      * save optimizer related vars in dygraph
      
      * test=develop, add optimizer save and load
      
      * test=develop, add optimizer save and load
      
      * test=develop, merge code and add multi-optimizer save and load
      
      * test=develop, fix test_imperative_checkpoint
      
      * test=develop, fix include error
      
      * test=develop, fix include error
      
      * test=develop, renew api spec
      
      * test=develop, refine code
      
      * test=develop, set default value for checkpoint
      
      * test=develop, fix ci error
      
      * test=develop, change API.spec and make api more readable
      
      * test=develop, refine version and time stamp
      
      * test=develop, add example code and refine code
      
      * test=develop, refine doc
      
      * test=develop, change version
      022dfed4