- 23 8月, 2023 1 次提交
-
-
由 kangguangli 提交于
* refine new ir flag check * simplify * simplify * fix
-
- 16 8月, 2023 1 次提交
-
-
由 kangguangli 提交于
* fix inset get_parameter op bug * fix bug: insert only for parameters * fix bug: wrong idx in vector --------- Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com>
-
- 04 8月, 2023 1 次提交
-
-
由 JYChen 提交于
* WIP: start writing combined indexing get * list/tuple/Variable * getitem 80% * add setitem * add some unittest for setitem * lazy import * fix some setitem error * fix advance indexing with decreasing axes; fix strided_slice input name * combine int-tensor getitem is ok (without boolean support & broadcast); add getitem unittest for static * add broadcast & parse bool tensor for __getitem * [change getitem] _getitem_impl_ to _getitem_static, not deleting the former one * refine new getitem; fix ut in variable/var_base * add __getitem__ ut in dygraph * re-dispatch getitem for Py/CPP; fix strided_slice decrease axes error in dygraph * fix ut; support tensor in slice * [change setitem] _setitem_impl_ to _setitem_static, not deleting the former one * remove some UT (for some, temporarily) * add IndexError to solve timeout problem in static-mode * 1.temply forbideen all-False bool-indexput; 2.setitem_static will return new variable * xpu uses old stratege * rename dy2st setitem ut to avoid same-name problem * dy2st for new combined index * ut case for combine-index with dy2st * open ut with all-false-bool setitem * remove useless doc and _getitem_impl_ * change static res * fix static xpu
-
- 19 7月, 2023 1 次提交
-
-
由 JYChen 提交于
* add paddle.static.setitem * add some help doc * support setitem * support machanism * add more unittest * remove usless code * raise error in static setitem * fix d2s UT * remove static only for both-used code * fix bool set_value in static, fix set_value_op UT * fix unittests * [May case some error]: remove inplace-version check * add two test case for dy2st * fix function in vision * fix dy2st setitem support, refine UT case * fix slice in static_mode * add ParametersMap * remove pop * modify place * [fix]: variable is also a tensor * rewrite some ut & remove slicetransformer in dy2st * solve error in static-mode * fix ut * return a result for set_array_write * fix test_set_value_op_xpu * code is different in dynamic / static mode --------- Co-authored-by: NAurelius84 <zhangliujie@baidu.com> Co-authored-by: NNotHaozi <zhangmenghao@baidu.com>
-
- 30 3月, 2023 1 次提交
-
-
由 wanghuancoder 提交于
* delete old dygraph op test
-
- 02 3月, 2023 1 次提交
-
-
由 xiongkun 提交于
* [dy2static] bugfix: make stop_gradient a cache key 1. make stop_gradient cache key in dy2static. * fix ci errors * fix ci error * fix ci error * fix ci error
-
- 21 2月, 2023 1 次提交
-
-
由 Charles-hit 提交于
* support prim test in OpTest * fix cmake * fix op test * fix test_input_spec * disable cinn in reduce_sum unit test * add bfloat16 dtype for sum * polish code * add clear jit program function * convert grad out from tensor to numpy * remove unnecessary code * add only_prim flag * fix flag * fix op test * fix optest comp inplace error * fix op test * fix op test with guard * add initialization of check_comp flag * fix comp inplace error in op test * rename check_comp with check_prim and add bfloat16 dtype convert * rename comp_op_type to prim_op_type * rename comp to prim * remove useless code * skip ci check for only prim * add no_grad_vars and grad_outputs in prim test * fix var_dict * fix op test for only_prim * fix dy2static bugs * polish some code
-
- 20 12月, 2022 1 次提交
-
-
由 Zhibao Li 提交于
* fix api docs format problems 121-131 * fix English docs #49042 * resolve conflict; test=document_fix Co-authored-by: Ligoml <limengliu@tiaozhan.com>
-
- 29 11月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* isort all files * revert conflicting files * revert conflicting files * revert conflicting files
-
- 08 11月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle][py2][U004] unecessary explicit `object` inheritance in class definition * fix an increment
-
- 03 11月, 2022 1 次提交
-
-
由 Kevin吴嘉文 提交于
* Remove reduntant numpy input in Example code * Remove reduntant numpy input in Example code, test=document_fix
-
- 23 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* update config * re-blacken python code * temporarily disable date and diff_py_file * skip a format
-
- 19 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
-
- 05 6月, 2022 1 次提交
-
-
由 Sing_chan 提交于
* use yapf to format all python file * yapf exclude two unittests file for they rely on writing and reading file, and format will break them * disable diff_py_file because too many diff files cause command following failed
-
- 20 4月, 2022 1 次提交
-
-
由 Yilingyelu 提交于
* gradients; test=document_fix * fix VarType; test=document_fix * fix vartype; test=document_fix * cumsum; test=document_fix * t; test=document_fix
-
- 17 3月, 2022 1 次提交
-
-
由 0x45f 提交于
* for test_mnist.py * remove comments * using type() replace isinstance() * valid vars for run program OP in io.py * open test_mnist in eager_gurad for coverage
-
- 29 4月, 2021 1 次提交
-
-
由 zhiboniu 提交于
add __all__=[] to python files not in API public list; import * only support in API public list files (#32643)
-
- 26 4月, 2021 1 次提交
-
-
由 zhiboniu 提交于
-
- 26 11月, 2020 1 次提交
-
-
由 ShenLiang 提交于
-
- 25 9月, 2020 1 次提交
-
-
由 Leo Chen 提交于
* add static check on data() * follow comments * fix ut
-
- 27 8月, 2020 1 次提交
-
-
由 Aurelius84 提交于
* add InputSpec * add unittest for tensorSpec and SimpleNet
-
- 22 8月, 2020 1 次提交
-
-
由 ShenLiang 提交于
* add static data
-
- 20 8月, 2020 1 次提交
-
-
由 Aurelius84 提交于
* Rename `Input` into `InputSpec` * fix argument place of Input api
-