File size: 218 Bytes
d65780e |
1 2 3 4 5 6 7 8 |
from collections.abc import Sequence
from typing import Union, SupportsIndex
_Shape = tuple[int, ...]
# Anything that can be coerced to a shape tuple
_ShapeLike = Union[SupportsIndex, Sequence[SupportsIndex]]
|