- 03 12月, 2021 1 次提交
-
-
由 Weilong Wu 提交于
-
- 22 11月, 2021 3 次提交
-
-
由 zyfncg 提交于
* support zero dim for slice op * support zero dim Tensor in set_value op * polish some debug log
-
由 zyfncg 提交于
-
由 Weilong Wu 提交于
* Removed one ENFORCE statement * Changed func name to _share_buffer_to * Improve error reporting information * Updated the logic of _is_share_buffer_to func
-
- 15 11月, 2021 1 次提交
-
-
由 zyfncg 提交于
-
- 11 11月, 2021 1 次提交
-
-
由 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
-
- 15 9月, 2021 2 次提交
-
-
由 zyfncg 提交于
* Change the invoking method of settiem from numpy to set_value op when value is not tensor * fix the check logic for inplace in setitem * fix the unittest problem caused by setitem doesn't support fp16 * modify some code format in setitem
-
由 WeiXin 提交于
* support numpy.ndarray index. * polish code.
-
- 06 9月, 2021 1 次提交
-
-
由 WeiXin 提交于
* support numpy dtype and polish code of list index. * polish code.
-
- 01 9月, 2021 1 次提交
-
-
由 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
-
- 23 8月, 2021 1 次提交
-
-
由 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
-
- 13 8月, 2021 1 次提交
-
-
由 zyfncg 提交于
-
- 04 8月, 2021 1 次提交
-
-
由 zhouweiwei2014 提交于
-
- 26 7月, 2021 1 次提交
-
-
由 zyfncg 提交于
* Support getitem by ellipsis index in dynamic mode * change some code style * Support getitem by none index in dynamic mode * modify a comments style and remove useless code
-
- 22 7月, 2021 1 次提交
-
-
由 zyfncg 提交于
* Support getitem by ellipsis index in dynamic mode * change some code style
-
- 24 6月, 2021 1 次提交
-
-
由 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.
-
- 21 6月, 2021 1 次提交
-
-
由 tianshuo78520a 提交于
* del py2 code2 * fix test timeout
-
- 15 6月, 2021 1 次提交
-
-
由 Zhou Wei 提交于
-
- 04 6月, 2021 1 次提交
-
-
由 Leo Chen 提交于
* fix stop_gradient in paddle.to_tensor * make to_tensor copy if data is varbase * add ut * refine sample code
-
- 21 5月, 2021 1 次提交
-
-
由 Leo Chen 提交于
-
- 30 4月, 2021 1 次提交
-
-
由 Zhou Wei 提交于
-
- 28 4月, 2021 1 次提交
-
-
由 zhulei 提交于
-
- 26 4月, 2021 1 次提交
-
-
由 xiemoyuan 提交于
* Modified the return value of tensor.grad from numpy as tensor. * Modify unittests. * fixed bugs. * Add warning info for x.grad * fixed unittests which used x.grad * fixed bug.
-
- 25 4月, 2021 2 次提交
- 20 4月, 2021 1 次提交
-
-
由 Wenyu 提交于
-
- 30 3月, 2021 1 次提交
-
-
由 Zhou Wei 提交于
-
- 04 3月, 2021 1 次提交
-
-
由 liym27 提交于
-
- 26 1月, 2021 1 次提交
-
-
由 Leo Chen 提交于
* polish printing dtype * fix special case
-
- 08 1月, 2021 1 次提交
-
-
由 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
-
- 07 1月, 2021 1 次提交
-
-
由 wangchaochaohu 提交于
-
- 06 1月, 2021 1 次提交
-
-
由 liym27 提交于
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
-
- 09 12月, 2020 1 次提交
-
-
由 Zhou Wei 提交于
* support deepcopy for Layer/Tensor/Paramerbase * fix some code
-
- 07 12月, 2020 1 次提交
-
-
由 chentianyu03 提交于
* rm complexvariable * modify test_var_base unittest * remove duplicated codes
-
- 04 12月, 2020 1 次提交
-
-
由 liym27 提交于
[inplace] Add ShareHolderWith for class Variable and SharePlaceholderWith in VarBase.detach() to share the same Tensor/SelectedRows (#29267)
-
- 01 12月, 2020 1 次提交
-
-
由 Zhou Wei 提交于
* The leaf tensor concept is exposed and the gradient accumulation of leaf tensor * The leaf tensor concept is exposed and the gradient accumulation of leaf tensor * fix coverage * fix api doc * fix CI unittest * fix CI unittest * fix unitest * empty tensor does’t need inner_var_ * fix some error message
-
- 30 11月, 2020 1 次提交
-
-
由 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.
-
- 25 11月, 2020 1 次提交
-
-
由 Zhou Wei 提交于
* fix tensor detach to zero copy * fix tensor detach to zero copy
-
- 20 11月, 2020 1 次提交
-
-
由 Zhou Wei 提交于
-
- 11 11月, 2020 1 次提交
-
-
由 Leo Chen 提交于
-