1. 08 9月, 2021 1 次提交
  2. 06 9月, 2021 1 次提交
  3. 01 9月, 2021 1 次提交
    • Z
      Support settiem by Bool index (#35133) · d387820d
      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
      
      * support setitem by bool index
      
      * add the unittest for throwing exception
      
      * merge conflict
      
      * add check for int tensor when index is bool
      d387820d
  4. 26 8月, 2021 1 次提交
  5. 25 8月, 2021 1 次提交
    • L
      fix potential tensor leak in tensor.__setitem__ (#35013) · 763b6d91
      Leo Chen 提交于
      * fix index tensor leak in __setitem__
      
      * fix another usage of PyTuple_Pack
      
      * refine code
      
      * refine code
      
      * handle None index
      
      * add Py_DecRef
      
      * revert ut
      
      * refine code
      
      * merge develop
      
      * use RAII
      
      * follow comments
      763b6d91
  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. 16 8月, 2021 1 次提交
  8. 13 8月, 2021 1 次提交
  9. 04 8月, 2021 1 次提交
  10. 26 7月, 2021 1 次提交
  11. 22 7月, 2021 1 次提交
  12. 09 7月, 2021 1 次提交
  13. 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
  14. 15 6月, 2021 1 次提交
  15. 11 6月, 2021 1 次提交
  16. 19 5月, 2021 1 次提交
  17. 13 5月, 2021 1 次提交
  18. 12 5月, 2021 1 次提交
  19. 30 4月, 2021 1 次提交
  20. 26 4月, 2021 1 次提交
  21. 25 4月, 2021 2 次提交
  22. 15 4月, 2021 1 次提交
    • W
      Customizable Python Layer in Dygraph (#32130) · 29f65225
      WeiXin 提交于
      * custom python backward
      
      * polish up the code
      
      * polish up the code
      
      * polish up the code.
      
      * Fix code format and comments.
      
      * Delete redundant files.
      
      * add unnittest.
      
      * edit unnittest.
      
      * edit unnittest.
      
      * Remove redundant header files.
      
      * Improve coverage and remove redundant code.
      
      * support saving for backward.
      
      * polish code according to comments.
      
      * Add support type for PyLayer.
      
      * Modify the DOC.
      
      * polish Doc.
      
      * polish Doc.
      
      * polish Doc.
      
      * polish Doc.
      
      * polish Doc.
      
      * polish Doc.
      
      * polish code and make the code robust.
      
      * Modify the code format.
      29f65225
  23. 14 4月, 2021 1 次提交
  24. 13 4月, 2021 1 次提交
    • C
      add layer.to api (#32040) · 6e946e9d
      chentianyu03 提交于
      * add layer.to api
      
      * add layer.to api
      
      * add layer.to api
      
      * add the doc for Layer.to
      
      * add input type checking
      
      * modify assert and import bug
      
      * format code style
      
      * format code style
      
      * make place support str type
      
      * add SetGradVarBase method to set the gradient after conversion
      
      * modify argument palce to device
      
      * modify argument palce to device
      
      * modify doc of layers.to API
      
      * add xpuplace to device argument
      6e946e9d
  25. 01 4月, 2021 3 次提交
    • C
      add custom init grad for backward function (#31540) · 83b953f5
      chentianyu03 提交于
      * add custom init grad for backward function
      
      * add custom init grad for backward function
      
      * handle when the grad_tensor is none
      
      * handle when the grad_tensor is none
      
      * fix the args type error on windows platform
      
      * modify the args order and doc
      
      * format code
      
      * add grad_tensor to xpu
      
      * modify the grad_tensor type check
      
      * add paddle.backward api to support multi tensors gradient compute
      
      * add paddle.backward api to support multi tensors gradient compute
      
      * add paddle.atuograd module and backward api
      
      * change tensor.backward func args
      
      * modify tensor backward api
      
      * remove create_graph intputs args
      
      * add doc and examplex code for backward api
      
      * when have the same tensor, throw error
      
      * modify test Init func args
      
      * modify the execute.Init func args in test files
      
      * add paddle.autograd package in setup.py.in
      
      * modify error msg, remove _run_backward method in class Tensor
      
      * add test cases for backward api
      83b953f5
    • K
      new group (#31682) · 07741593
      kuizhiqing 提交于
      * new group
      
      * ci compatible fix
      
      * assert nccl
      07741593
    • C
      Refactor and simplify hook design & add Tensor.register_hook API (#31775) · dbeb3ea4
      Chen Weihang 提交于
      * refactor and simplify hook design
      
      * fix reducer add hook error
      
      * add Tensor.register_hook basic impl
      
      * refine prepare data impl
      
      * revert prepare data change
      
      * support register_hook for Tensor
      
      * add hook test in model
      
      * polish tests and doc example
      
      * fix double grad test failed
      
      * remove reduce hook func
      
      * fix set empty error
      
      * polish code by comments
      
      * change reduce_hook to mutable_hook
      
      * remove useless tmp_ins
      
      * fix shape code format error
      
      * fix shape code format error
      dbeb3ea4
  26. 31 3月, 2021 1 次提交
  27. 30 3月, 2021 1 次提交
  28. 04 3月, 2021 1 次提交
  29. 26 2月, 2021 1 次提交
  30. 20 2月, 2021 1 次提交
  31. 05 2月, 2021 1 次提交
  32. 04 2月, 2021 1 次提交
  33. 03 2月, 2021 1 次提交
  34. 29 1月, 2021 1 次提交
  35. 19 1月, 2021 1 次提交
  36. 13 1月, 2021 2 次提交