plain-carpet-73994
11/14/2022, 7:11 PMtorch.pyi
file and added some type info for the torch.load
method. I was hoping mypy would use the def of torch.load
from my .pyi
file and then fall back to the ones that ship with pytorch for everything else. But that doesn't appear to be the case: now it only pays attention to my .pyi file ignoring all else.
Maybe this is more of a question for the mypy folks??happy-kitchen-89482
11/14/2022, 7:12 PM