Typing missing on arithmetic ops on Tensor
#103393
Labels
module: typing
Related to mypy type annotations
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Uh oh!
There was an error while loading. Please reload this page.
🐛 Describe the bug
This is related to #103375 and #103376, but I assume it's better to split into smaller fixes.
Some of the dunder ops are not defined in
_C._TensorBase
but directly inTensor
:pytorch/torch/_tensor.py
Lines 850 to 902 in 03101a2
However, as seen, there's no typing for these methods.
Versions
master
cc @ezyang @malfet @rgommers @xuzhao9 @gramster
The text was updated successfully, but these errors were encountered: