- 12 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
-
- 11 1月, 2021 1 次提交
-
-
由 wangchaochaohu 提交于
cherry-pick #28769, add support for place string representation
-
- 08 1月, 2021 1 次提交
-
-
由 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
-
- 04 1月, 2021 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 提交于
[cherry-pick 2.0rc1][inplace] Add ShareHolderWith for class Variable and SharePlaceholderWith in VarBase.detach() to share the same Tensor/SelectedRows (#29267) (#29359)
-
- 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 提交于
-
- 30 10月, 2020 1 次提交
-
-
由 石晓伟 提交于
* update version pybind to v2.4.3, test=develop * update unittests, test=develop
-
- 26 10月, 2020 2 次提交
- 21 10月, 2020 1 次提交
-
-
由 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
-
- 15 10月, 2020 2 次提交
- 13 10月, 2020 1 次提交
-
-
由 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
-
- 28 9月, 2020 1 次提交
-
-
由 liym27 提交于
* Support assignment to a Variable in dynamic mode. Note: not deal with backward. * Rewrite VarBase __setitem__ for high-performance. * try to test 3 means to do __setitem__ and test the performance of 3 means. * Retain the means of the highest performance: C++ code and don't trace op.
-
- 03 9月, 2020 1 次提交
-
-
由 Zhou Wei 提交于
* set_default_type only take effect on python floats or complex * fix doc
-
- 28 8月, 2020 1 次提交
-
-
由 Zhou Wei 提交于
* add set_default_type for tensor * fix doc * fix doc
-
- 15 8月, 2020 1 次提交
-
-
由 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
-
- 08 7月, 2020 1 次提交
-
-
由 Leo Chen 提交于
* clean __str__ of VarBase and ParamBase, test=develop * clean to_string, test=develop * update unittest, test=develop
-
- 03 7月, 2020 1 次提交
-
-
由 Zhou Wei 提交于
* support tuple/list init for VarBase,test=develop * fix doc of fluid.dygraph.to_variable,test=develop * fix doc of fluid.dygraph.to_variable,test=develop
-
- 29 6月, 2020 1 次提交
-
-
由 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
-
- 22 5月, 2020 1 次提交
-
-
由 Leo Chen 提交于
-
- 21 5月, 2020 1 次提交
-
-
由 Leo Chen 提交于
-
- 08 5月, 2020 1 次提交
-
-
由 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
-
- 10 4月, 2020 1 次提交
-
-
由 Zhou Wei 提交于
* API(to_variable/save_dygraph) error message enhancement
-
- 03 4月, 2020 1 次提交
-
-
由 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
-
- 19 3月, 2020 1 次提交
-
-
由 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
-
- 24 12月, 2019 1 次提交
-
-
由 Leo Chen 提交于
* update layers, test=develop * fix input numpy, test=develop * fix bugs, test=develop * follow commments, test=develop * update getitem, test=develop
-
- 09 12月, 2019 1 次提交
-
-
由 Leo Chen 提交于
* refine init function, test=develop * add tests, test=develop * remove extern, which may cause symbol error in gcc-4.8, test=develop
-