cr.sparse.check_shapes_are_equal

cr.sparse.check_shapes_are_equal(array1, array2)[source]

Raise an error if the shapes of the two arrays do not match.

Raises

ValueError – if the shape of two arrays is not same