- 01 11月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle][E711] use `is`/`is not` for comparison with `None` * `self.assertTrue($A is None)` -> `self.assertIsNone($A)` * `self.assertTrue($A is not None)` -> `self.assertIsNotNone($A)` * `self.assertFalse($A is None)` -> `self.assertIsNotNone($A)` * `self.assertEqual($A, None)` -> `self.assertIsNone($A)` * `self.assertNotEqual($A, None)` -> `self.assertIsNotNone($A)`
-
- 23 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* update config * re-blacken python code * temporarily disable date and diff_py_file * skip a format
-
- 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
-
- 21 6月, 2022 1 次提交
-
-
由 zhangbo9674 提交于
* refine layer to * refine code * add ut
-
- 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
-
- 30 3月, 2022 1 次提交
-
-
由 wanghuancoder 提交于
* dlpack eager, test=develop * eager test_base_layer, test=develop * fix error report, test=develop * eager _getitem_from_offset, test=develop * refine, test=develop * refine offset, test=develop * add test_inner test_outer, test=develop * refine, test=develop * refine, 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>
-
- 14 12月, 2021 1 次提交
-
-
由 chentianyu03 提交于
* layer.to api support numpy.dtype and paddle.dtype * skip the layer to eaxmple code executing for env not support
-
- 12 5月, 2021 1 次提交
-
-
由 chentianyu03 提交于
* add varbasecopy func to fix the paraBase type bug in layers.to API * overload _copy_to func for ParamBase * add xpuplace * add waiting varbsecopy completion when not blocking * fix dst_device bug * modify varbase to shared_ptr
-
- 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.
-
- 13 4月, 2021 1 次提交
-
-
由 chentianyu03 提交于
* add layer.to api * add layer.to api * add layer.to api * add the doc for Layer.to * add input type checking * modify assert and import bug * format code style * format code style * make place support str type * add SetGradVarBase method to set the gradient after conversion * modify argument palce to device * modify argument palce to device * modify doc of layers.to API * add xpuplace to device argument
-
- 02 11月, 2020 1 次提交
-
-
由 Aurelius84 提交于
* [Dy2stat] Support to modify value of buffer tensor * remove "defaultTest" * fix name confliction
-
- 20 8月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
* enhance add parameter check for layer * add unittest for coverage * remove uninit test case * enrich unittest ccase * trigger ci check
-
- 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
-
- 09 1月, 2020 1 次提交
-
-
由 songyouwei 提交于
* use snake_cased Layer name * add named_parameters and named_sublayers api * add include_sublayers param, add unittest test=develop * fix named unittests test=develop * fix unittest test=develop * add api docs test=develop * arg fix test=develop * reserve rnn_impl name_scope for static graph test=develop * fix load static param test=develop * fix load static param test=develop
-
- 29 3月, 2019 1 次提交
-
-
由 lujun 提交于
-
- 28 3月, 2019 1 次提交
-
-
由 lujun 提交于
-
- 06 3月, 2019 2 次提交
-
-
由 Jiabin Yang 提交于
* test=develop, reconstruct layer helper to fit imperative usage * test=develop, fix import error on py35 * test=develop, fix rnn gradient error * test=develop, delete test use code * test=develop, remove helper from imperative usage * test=develop, fix test_base_layer using new helper * test=develop, reconstruct layerhelper for imperative mode * test=develop, reconstruct layerhelper for imperative mode * test=develop, fix bug * test=develop, fix test failed bug * test=develop, fix test failed bug * test=develop, fix test failed bug * test=develop, fix bug * test=develop, polish code
-
由 Jiabin Yang 提交于
* test=develop, reconstruct layer helper to fit imperative usage * test=develop, fix import error on py35 * test=develop, fix rnn gradient error * test=develop, delete test use code * test=develop, remove helper from imperative usage * test=develop, fix test_base_layer using new helper * test=develop, reconstruct layerhelper for imperative mode * test=develop, reconstruct layerhelper for imperative mode * test=develop, fix bug * test=develop, fix test failed bug * test=develop, fix test failed bug * test=develop, fix test failed bug * test=develop, fix bug * test=develop, polish code
-
- 22 2月, 2019 1 次提交
-
-
由 Xin Pan 提交于
parameters within a Layer instance should be unique. test=develop
-
- 15 2月, 2019 2 次提交