@testing.for_all_dtypes_combination(names=['x_type', 'y_type'])
@testing.numpy_cupy_allclose(accept_error=TypeError)
def check_array_doubly_broadcasted_op(self, op, xp, x_type, y_type):
    a = xp.array([[[0, 1, 2]], [[1, 0, 2]]], dtype=x_type)
    b = xp.array([[0], [0], [1]], dtype=y_type)
    return op(a, b)
@testing.for_all_dtypes_combination(names=['x_type', 'y_type'])
@testing.numpy_cupy_allclose(accept_error=TypeError)
def check_array_doubly_broadcasted_op(self, op, xp, x_type, y_type):
    a = xp.array([[[0, 1, 2]], [[1, 0, 2]]], dtype=x_type)
    b = xp.array([[0], [0], [1]], dtype=y_type)
    return op(a, b)