Fix issues with `get_image_size()` (#6581)
* Fix bug on `get_image_size()` and move it to deprecated. Introduce generic named spatial/channel equivalents. * Update tests and fix mypy issues. * Remove the use of get_image_size from ElasticTransform. * Fix linter * Apply suggestions from code review. * Update torchvision/prototype/transforms/functional/_deprecated.py Co-authored-by:Philip Meier <github.pmeier@posteo.de> * Further changes from code review. * Fix linter Co-authored-by:
Philip Meier <github.pmeier@posteo.de>
Showing
Please register or sign in to comment