mypy
9aaeef5f - Allow slice syntax in e.g. `Annotated[int, 1:3]` and `TensorType["batch":..., float]` (#11345)

Commit
4 years ago
Allow slice syntax in e.g. `Annotated[int, 1:3]` and `TensorType["batch":..., float]` (#11345) This is useful for Annotated, and crucial for downstream libraries like torchtyping.
Author
Parents
Loading