blob: c28859b19bae50f22ede88e846c1a9a49966c685 (
plain)
1
2
3
4
5
6
|
from typing import Sequence, Tuple, Union, SupportsIndex
_Shape = Tuple[int, ...]
# Anything that can be coerced to a shape tuple
_ShapeLike = Union[SupportsIndex, Sequence[SupportsIndex]]
|