-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Check Type Annotations for transforms/functional_pil and transforms/functional_tensor #4282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
After some more thought, this is probably a |
Probably no new contributor seems to take this So I will have go this week. |
hi @oke-aditya I see the type annotations do not match here too: vision/torchvision/prototype/transforms/functional/_geometry.py Lines 235 to 241 in 97385df
I could make a PR to fix this. |
@lezwon I believe this might be intentional to support JIT. :( If it can be fixed without breaking the JIT-scriptability that's great. But if that's not possible, we should leave as-is to allow inference on mobile devices. |
🚀 Feature
As spotted in #4234 (review)
There are some minor cases where type annotations do not match.
We should probably rectify them and ensure that the types annotations match.
P.S.
But I'm willing to leave for any new contributor! Otherwise I will complete it in the next week
cc @vfdev-5 @datumbox @pmeier I think this can be a good first issue for people awaiting to contribute 😄
The text was updated successfully, but these errors were encountered: