cupy.testing.assert_array_list_equal¶
-
cupy.testing.
assert_array_list_equal
(xlist, ylist, err_msg='', verbose=True)[source]¶ Compares lists of arrays pairwise with
assert_array_equal
.Parameters: Each element of
x
andy
must be eithernumpy.ndarray
orcupy.ndarray
.x
andy
must have same length. Otherwise, this function raisesAssertionError
. It compares elements ofx
andy
pairwise withassert_array_equal()
and raises error if at least one pair is not equal.See also