DrDavis's picture
Upload folder using huggingface_hub
17c6d62 verified
from collections.abc import Sequence
from typing import SupportsIndex, TypeAlias
_Shape: TypeAlias = tuple[int, ...]
# Anything that can be coerced to a shape tuple
_ShapeLike: TypeAlias = SupportsIndex | Sequence[SupportsIndex]