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
xandymust be eithernumpy.ndarrayorcupy.ndarray.xandymust have same length. Otherwise, this function raisesAssertionError. It compares elements ofxandypairwise withassert_array_equal()and raises error if at least one pair is not equal.See also