1. 15 11月, 2021 1 次提交
  2. 11 11月, 2021 1 次提交
    • W
      [New features] Support VarBase to expose func (#36965) · 52645667
      Weilong Wu 提交于
      * Expose func for varbase
      
      * Expose func for varbase and enhance varbase init func
      
      * Change func name and add test case for _CopyGradientWith
      
      * Rename func
      
      * Add test cases to increase coverage
      
      * Refine the logic of _to func
      
      * Replace numel() with _numel(), Add test code
      52645667
  3. 15 9月, 2021 2 次提交
  4. 06 9月, 2021 1 次提交
  5. 01 9月, 2021 1 次提交
    • L
      support setting linewidth when printing tensor (#35175) · 5fa7d9ce
      Leo Chen 提交于
      * support setting linewith when printing tensor
      
      * fix ut
      
      * refine code
      
      * update comments
      
      * use small precision since windows/linux has different ramdom value
      
      * fix typo
      
      * adjust parameter order for consistency
      5fa7d9ce
  6. 23 8月, 2021 1 次提交
    • Z
      Support gettiem by Bool index (#35026) · b6dc16cb
      zyfncg 提交于
      * Support getitem by Bool index
      
      * delete some debug info of bool index
      
      * support the case that the shape of bool index is different from indexed tensor
      b6dc16cb
  7. 13 8月, 2021 1 次提交
  8. 04 8月, 2021 1 次提交
  9. 26 7月, 2021 1 次提交
  10. 22 7月, 2021 1 次提交
  11. 24 6月, 2021 1 次提交
    • H
      [NPU] support dygraph execution on npu place(#33579) · 6aea6be2
      houj04 提交于
      * in NPU environment, use CPUPlace for missing operators.
      
      * in NPU environment, use CPUPlace for missing operators.
      
      * fix TensorCopy bug and add unit test.
      
      * fix code style.
      
      * add more unit tests.
      6aea6be2
  12. 21 6月, 2021 1 次提交
  13. 15 6月, 2021 1 次提交
  14. 04 6月, 2021 1 次提交
  15. 21 5月, 2021 1 次提交
  16. 30 4月, 2021 1 次提交
  17. 28 4月, 2021 1 次提交
  18. 26 4月, 2021 1 次提交
  19. 25 4月, 2021 2 次提交
  20. 20 4月, 2021 1 次提交
  21. 30 3月, 2021 1 次提交
  22. 04 3月, 2021 1 次提交
  23. 26 1月, 2021 1 次提交
  24. 08 1月, 2021 1 次提交
    • L
      Add callback after TensorCopy (#30123) · 1f97d61c
      Leo Chen 提交于
      * change to tensor copy sync
      
      * change to tensor copy sync
      
      * make copy_to safe when use TensorCopy
      
      * refine code
      
      * add ut
      
      * add cudapinned garbagecollector
      
      * add testcase: cpu place -> cuda pinned place
      1f97d61c
  25. 07 1月, 2021 1 次提交
  26. 06 1月, 2021 1 次提交
  27. 09 12月, 2020 1 次提交
  28. 07 12月, 2020 1 次提交
  29. 04 12月, 2020 1 次提交
  30. 01 12月, 2020 1 次提交
  31. 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
  32. 25 11月, 2020 1 次提交
  33. 20 11月, 2020 1 次提交
  34. 11 11月, 2020 1 次提交
  35. 30 10月, 2020 1 次提交
  36. 26 10月, 2020 2 次提交
  37. 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