gustaf.utils.arr.is_shape# gustaf.utils.arr.is_shape(arr, shape, strict=False)[source]# Checks if arr matches given shape. shape can have negative numbers. Parameters: arr (np.ndarray) shape (tuple) strict (bool) – raises ValueError if shapes do not match Returns: matches Return type: bool