mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Add mypy typing to torch_version.py (#131447)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/131447 Approved by: https://github.com/angelayi ghstack dependencies: #131434
This commit is contained in:
parent
eab1595ce2
commit
f93a6a4d31
|
|
@ -1,5 +1,3 @@
|
|||
# mypy: ignore-errors
|
||||
|
||||
from typing import Any, Iterable
|
||||
|
||||
from torch._vendor.packaging.version import InvalidVersion, Version
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user