-
-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
Setup
pyright: 1.1.263pytorch: 1.12.0+cu113torchtyping: 0.1.4
Code Example
from torchtyping import TensorType
def example(foo: TensorType["batch"]):
passProblem
Pyright reports the following error: "batch" is not defined
Related issue
The same error is reported by mypy when -1 is omitted: #35
Metadata
Metadata
Assignees
Labels
No labels