Add typehints for torchvision.io (#2543)
* enable typing check for torchvision.io * fix existing errors * Update torchvision/io/_video_opt.py Co-authored-by:Francisco Massa <fvsmassa@gmail.com> * add ignores for FileFinder * use python 3 type hints * lint * video_opt * video * try quote av type hints * revert from .dim() to .ndim * revert changes to _video_opt.py and ignore errors * fix type hints * fix type hints for read_video_timestamps * change offset int to float * remove unused import Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
Showing
Please register or sign in to comment