cupy.testing.assert_array_max_ulp#

cupy.testing.assert_array_max_ulp(a, b, maxulp=1, dtype=None)[源代码]#

检查数组所有元素的差异不超过末位的 N 个单位 (Units in the Last Place, ULP)。

参数: