1. 12 1月, 2021 1 次提交
  2. 11 1月, 2021 1 次提交
  3. 08 1月, 2021 1 次提交
    • L
      [cherry-pick 2.0] Fix bug: In dynamic mode, if start or end is negetive,... · 5fe3da39
      liym27 提交于
      [cherry-pick 2.0] Fix bug: In dynamic mode, if start or end is negetive, __getitem__  return wrong result(#30003) (#30146)
      
      1. when slice_item is a slice:
       1) the start of __getitem__ should be std::max(start, 0) if slice
       2) the start of __getitem__ should be std::min(end, dim)
      2. when slice_item is an integer, it should be in [-dim_len, dim_len)
      3. Fix error message to use accurate data
      5fe3da39
  4. 04 1月, 2021 1 次提交
  5. 07 12月, 2020 1 次提交
  6. 04 12月, 2020 1 次提交
  7. 01 12月, 2020 1 次提交
  8. 30 11月, 2020 1 次提交
    • L
      Check whether there is any inplace operation affecting gradient calculation. (#27901) · 865a4598
      liym27 提交于
      * Add a class TensorInplaceVersion to count the inplace version and put it in framework::Tensor instead of Allocation or Variable.
      
      * Add a new attribute `_inplace_version` for VarBase.
      
      * Raise exception if an inplace operation can result in incorrect gradient computation.
      
      * Add a new interface _bump_inplace_version() for VarBase to bump the version whenever the Tensor is modified through an inplace operation.
      
      * For api assign, call _bump_inplace_version() when it's an inplace operation inn dynamic mode.
      
      * Use original var_wrapper if the inplace_version is not changed.
      
      * Replace SnapshotVarWrapperList with SnapshotVarWrapper to optimize performane.
      865a4598
  9. 25 11月, 2020 1 次提交
  10. 20 11月, 2020 1 次提交
  11. 11 11月, 2020 1 次提交
  12. 30 10月, 2020 1 次提交
  13. 26 10月, 2020 2 次提交
  14. 21 10月, 2020 1 次提交
    • C
      2.0rc api rename (#28088) · 7c1aa0d6
      cnn 提交于
      * rename manual_seed to seed
      
      * rename xxx1d-->xxx1D, xxx2d-->xxx2D, xxx3d-->xxx3D
      
      * rename manual_seed --> seed
      
      * do not rename .cc, .cu and .h file
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * disable_static on doc example code
      
      * donot change manual_seed on generator
      
      * add enable_static on sample code
      
      * convert python/paddle/fluid/layers/nn.py to bak
      
      * fix typo
      
      * fix code style
      
      * fix seed to manual_seed when call functions of Generator()
      
      * fix bug
      7c1aa0d6
  15. 15 10月, 2020 2 次提交
  16. 13 10月, 2020 1 次提交
    • L
      Refine the format of printing tensor (#27673) · 049696bf
      Leo Chen 提交于
      * add sumary feature
      
      * refine printting tensor
      
      * add sci_mode
      
      * add sample code
      
      * fix indent error
      
      * fix _format_item
      
      * polish code
      
      * support item indent
      
      * add ut
      
      * set place for ut
      
      * fix py2 issue
      
      * fix ut
      049696bf
  17. 28 9月, 2020 1 次提交
  18. 03 9月, 2020 1 次提交
  19. 28 8月, 2020 1 次提交
  20. 15 8月, 2020 1 次提交
    • Z
      expose and unify the Tensor concepts to the user (#25978) · 6de463d3
      Zhou Wei 提交于
      * expose and unify the Tensor concepts to the user
      
      * expose tensor to user
      
      * add copy place for Tensor
      
      * add copy place for Tensor
      
      * add note
      
      * add macro PADDLE_WITH_CUDA
      
      * remove RUN_TYPE=DIST
      
      * fix some error
      6de463d3
  21. 08 7月, 2020 1 次提交
  22. 03 7月, 2020 1 次提交
  23. 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
  24. 22 5月, 2020 1 次提交
  25. 21 5月, 2020 1 次提交
  26. 08 5月, 2020 1 次提交
    • H
      Fix get item out of range error (#24339) · 67f66f09
      hong 提交于
      * raise index error when slice out of range; test=develop
      
      * add uni test; test=develop
      
      * fix format error; test=develop
      
      * add comment for py::index_error; test=develop
      
      * polish error message; test=develop
      
      * polish error message; test=develop
      67f66f09
  27. 10 4月, 2020 1 次提交
  28. 03 4月, 2020 1 次提交
    • Z
      support if logic for Variable in dygraph (#22892) · 7ca836d3
      zhongpu 提交于
      * support if logic for Variable in dygraph, test=develop
      
      * fix test_learning_rate_scheduler.py, test=develop
      
      * fix optest, test=develop
      
      * fix error message, test=develop
      
      * fix optest,test=develop
      
      * fix comment, test=develop
      7ca836d3
  29. 19 3月, 2020 1 次提交
    • S
      high-performance dygraph slice (#22879) · 2e2da712
      songyouwei 提交于
      * move __getitem__ to cpp
      
      * bug fix
      
      * add type check and gil release
      
      * support negative step with omitted ends
      test=develop
      
      * code refine
      test=develop
      
      * bug fix
      test=develop
      
      * slice always return different pyobj
      test=develop
      2e2da712
  30. 24 12月, 2019 1 次提交
  31. 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