- 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 提交于
-
- 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
-
- 26 7月, 2022 1 次提交
-
-
由 zhouweiwei2014 提交于
* fix behavior of device_id=None in Tensor.cuda * fix CI
-
- 21 7月, 2022 1 次提交
-
-
由 Li Min 提交于
* Replace with dygraph op calling method.
-
- 10 6月, 2022 1 次提交
-
-
由 YuanRisheng 提交于
* change tensor name * fix unittest bugs
-
- 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
-
- 21 4月, 2022 1 次提交
-
-
由 pangyoki 提交于
* add _grad_name and _grad_value for eager tensor * fix paddle_enforce * fix paddle_enforce 2 * fix grad_name * _grad_value return lodtensor rather than tensor * fix
-
- 19 4月, 2022 1 次提交
-
-
由 Weilong Wu 提交于
* [Eager] Fix numpy interface for constructing empty tensor * Fix CI, construct empty tensor * Modify empty tensor's shape from [] to [0] * Add more test for constructing empty tensor
-
- 04 4月, 2022 4 次提交
-
-
由 wanghuancoder 提交于
* eager test var base * refine, test=develop
-
由 FlyingQianMM 提交于
* support getitem when index is a all-false bool tensor * use cond to replace if * add static_graph geitem unit test when index is a bool tensor
-
由 Weilong Wu 提交于
* [Eager]Polish enable/disable_legacy_dygraph logic * Support _offset in eager mode * Update framework.py * Update framework.py Co-authored-by: NAurelius84 <zhangliujie@baidu.com>
-
由 Weilong Wu 提交于
* [Eager]Polish enable/disable_legacy_dygraph logic * fix test_var_base print_tensor * fix bug caused by arange * Updated bf16 cast case * BF16 astype to float32 Co-authored-by: NAurelius84 <zhangliujie@baidu.com> Co-authored-by: Npangyoki <pangyoki@126.com> Co-authored-by: Nzyfncg <zhangyunfei07@baidu.com>
-
- 25 3月, 2022 2 次提交
-
-
由 Jiabin Yang 提交于
* refactor eager flags * fix flags error when we switch from eager to dygraph * fix ci problem * fix ci * fix ci * merge develop and fix code style * merge develop and fix code style * fix op test error * fix op test error * fix op test error * fix op test error * fix op test error * merge develop
-
由 FlyingQianMM 提交于
* support get_item where the index is a bool scalar tensor * add unittests for supporting get_item where the index is a bool scalar tensor
-
- 23 3月, 2022 1 次提交
-
-
由 wanghuancoder 提交于
* fix some slice bug, test=develop * eager slice, test=develop * eager slice, test=develop * refine, test=develop * refine, test=develop * fix bug, test=develop * refine, test=develop * rename function name, test=develop
-
- 21 3月, 2022 1 次提交
-
-
由 hong 提交于
* switch eager mode and change it * set default is eager * set default is eager * fix error; test=develop * fix some error; test=develop * update * upd * update code; test=develop * update * fix some bug; test=develop * fix bug; test=develop * fix bug; test=develop * fix bug; test=develop * fix error; test=develop * format; test=develop Co-authored-by: NJiabinYang <360788950@qq.com>
-
- 01 3月, 2022 1 次提交
-
-
由 zhouweiwei2014 提交于
* fix bug of paddle.to_tensor and paddle.moveaxis * fix CI
-
- 08 2月, 2022 1 次提交
-
-
由 Leo Chen 提交于
-
- 17 1月, 2022 1 次提交
-
-
由 Wilber 提交于
* add pten::Place data structure. * update ci problem * fix ci problem * update * using platform::Place=pten::Place * remove BOOST_GET_CONST for CPUPlace and GPUPlace * compile pass 25%. * compile pass 45% * compile pass 60% * remove boost_get for xpu npu mlu and ipu * compile pass on cpu and gpu. * fix compile problem * fix compile error. * update * fix ci problem * update * ci approve * fix ci problem * fix ci eager test problem * remove BOOST_GET_CONST * fix npu compile
-
- 23 12月, 2021 1 次提交
-
-
由 zhouweiwei2014 提交于
* add new API: paddle.clone;Tensor.element_size;nn.utils.parameters_to_vector * fix comment
-
- 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
-