- 07 2月, 2023 1 次提交
-
-
由 Siming Dai 提交于
* Fix to_dlpack (#50138) * fix to_dlpack for loop * fix reference count * fix conflicts
-
- 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 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
-
- 28 9月, 2021 1 次提交
-
-
由 Siming Dai 提交于
-
- 26 8月, 2021 1 次提交
-
-
由 Siming Dai 提交于
* add dlpack api and fix a from_dlpack
-