- 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
-
- 01 6月, 2023 1 次提交
-
-
由 tianshuo78520a 提交于
* mv all unittests test * fix error * fix error * fix * fix * del unittests * fix paddle_build.sh * fix * fix test * fix add test * fix * fix * fix * merge develop * fix * fix * fix * fix * fix * merge develop * fix test_async_read_write * fix test_async_read_write * merge develop * fix * fix import legacy_test * fix * fix * fix * fix * fix * fix * fix * fix * fix bug * fix * fix coverage test bug * fix * fix * fix * fix * fix * fix code sstyle * fix code * fix code * fix * fix * fix * del test_sequence_enumerate_op.py * fix
-
- 07 4月, 2023 1 次提交
-
-
由 risemeup1 提交于
* remove zeros * remove zeros * apply gcc12 to py3 * apply gcc12 to py3 * fluid api clear * fluid api clean * fluid api clean
-
- 25 3月, 2023 1 次提交
-
-
由 张春乔 提交于
-
- 21 3月, 2023 1 次提交
-
-
由 GGBond8488 提交于
* remove fluid.data * fix typro * fix somme unitest error * fix conflicts * fix sample code error * fxi sample coder error * fxi sample code error * fxi sample code error * fix xpu test error * fix xpu test error * Delete ps_pb2.py * fix test error * fix typro * fix sample code error * fix comments * fix test norm op data * fix sample code error * fix conflicts
-
- 20 3月, 2023 1 次提交
-
-
由 GGBond8488 提交于
* migrate fill_constant to paddle.tensor * move fill_constant to paddle.tensor and repalce the reference * add missing fill_constant replacement * fix typro * remove unused import fill_constant * fix zeros import error * fix circle import * fix layers.zeros * fix unitest * fix unitests * fix unitest * use paddle.full replace fill_constant in samplecode * fix sample code * recovery xpu test * recovery xpu test * fix circle import * fix utils import error * fix utils error * fix circle import * redo * fix circle import * fix prim fill constant import * fix type error * fix increase error * fix test error * fix fill_constant
-
- 10 3月, 2023 1 次提交
-
-
由 Aurelius84 提交于
* [framework]support pass stop_gradient in static mode * fix control_flow op stop_gradient
-
- 20 1月, 2023 1 次提交
-
-
由 GGBond8488 提交于
* replace paddle.fluid.layers.data and remove io.data * partial commit * partial commit * partial commit * partial commit * partial commit * partial commit * remove data in fluid.layers.io.__all__ * fix errors * fix unitests * fix unitest * fix unitests * fix unitest * fix unitest * fix unitests * fix unitest * fix test_layers unitests * fix typro * fix unitest * fix unitest * fix unitest * fix typro * fix unitest test_model_cast_to_bf16 * fix test_reducescatter * fix collective unitest * fix collective unitests * fix collective unitests * add coverage * fix add layers.data * re run ci * fix some typro * fix samplecode error * fix samplecode error
-
- 15 12月, 2022 1 次提交
-
-
由 kangguangli 提交于
-
- 14 12月, 2022 1 次提交
-
-
由 feifei-111 提交于
* del array_write & array_read * fix import err * fix import err * fix example codes
-
- 12 12月, 2022 1 次提交
-
-
由 feifei-111 提交于
-
- 08 12月, 2022 1 次提交
-
-
由 Ghost Screaming 提交于
* Merge branch 'reduce_sum' of https://github.com/GhostScreaming/Paddle into mine_fluid_clean_common. * Fix some bugs. * Clean APIs in python/paddle/fluid/layers/control_flow.py * Polish code style. * Change API. * Fix some bugs. * Fix some bugs.
-
- 05 12月, 2022 1 次提交
-
-
由 201716010711 提交于
-
- 02 12月, 2022 2 次提交
- 29 11月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
-
- 22 11月, 2022 1 次提交
-
-
由 傅剑寒 提交于
* remove reshape in nn.py under fluid * remove reshape reference * fix test case * fix test case in distribution.uniform * remove fluid reshape reference
-
- 23 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* update config * re-blacken python code * temporarily disable date and diff_py_file * skip a format
-
- 10 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
-
- 27 9月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle] remove all future import * revert test_error.py * restore future import in example code
-
- 17 8月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
[CodeStyle][NPU] use np.testing.assert_allclose instead of self.assertTrue(np.allclose(...)) (part 1) (#44988) * autofix * try resolve precision issues * revert some changes * clean some `err_msg` * 0.0001 -> 1e-4 * update commented assert code * try to fix some shape errors * `numpy` -> `np` * empty commit, trigger kunlun ci, test=kunlun * empty commit, retrigger kunlun ci, test=kunlun * empty commit, trigger kunlun ci, try fix npu memcpy_h2d, test=kunlun * try fix npu import error, test=kunlun
-
- 10 8月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
[CodeStyle] use np.testing.assert_array_equal instead of self.assertTrue(np.array_equal(...)) (#44947) * automatically fix * update comments * numpy -> np * self.assertEqual(..., True) * wrong usage (err_msg=True) 这不是修复导致的错误,这些是原来 `self.assertTrue(..., True)` 的错误用法,因此在修复后将其认为位置参数 `err_msg` * some missing fix
-
- 05 7月, 2022 1 次提交
-
-
由 zhiboniu 提交于
* change fluid.mean to paddle.mean * reverse some old code examples
-
- 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
-
- 12 10月, 2020 1 次提交
-
-
由 guofei 提交于
test=develop
-
- 13 7月, 2020 1 次提交
-
-
由 liym27 提交于
[while grad]Support pruning op in find_op_path about while sub-block when appending backward (#25330) Prune OPs which are not related with loss in while sub-block when constructing backward OP path.
-
- 07 5月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
-
- 25 3月, 2020 1 次提交
-
-
由 Aurelius84 提交于
* Polish error Info in while_loop test=develop
-
- 19 3月, 2020 1 次提交
-
-
由 Aurelius84 提交于
* support to modify dict and list in while_loop test=develop * polish code test=develop
-
- 11 3月, 2020 1 次提交
-
-
由 Huihuang Zheng 提交于
1. Add basic support for `for in range` loop 2. Move `test_dygraph_to_static_*` to `dygraph_to_static` dir and rename them 3. Add test case for dict in while_loop
-
- 17 2月, 2020 1 次提交
-
-
由 guofei 提交于
Modify english document and unittest of while_loop
-
- 11 2月, 2020 1 次提交
-
-
由 guofei 提交于
This PR makes assign op support LoDTensorArray and enable the loop_vars in while_loop to support tuple or list.
-
- 19 12月, 2019 1 次提交
-
-
由 guofei 提交于
1. Make while_op accept GPU conditional data 2. Add more complex test cases for while_loop API
-
- 09 12月, 2019 1 次提交
-
-
由 guofei 提交于
Add basic while_loop
-