-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Closed
Description
🚀 Feature
The use of torch.jit.annotations
was necessary to be compatible with Python 2, nevertheless now we only support Python 3. Thus we should replace all torch.jit.annotations
with typing
annotations.
Examples:
from torch.jit.annotations import List, Tuple |
from torch.jit.annotations import List, Tuple |
There are more cases across the code-base. We should replace as many as possible.