More prototype Transforms cleanups (#6502)
* `to_image_tensor` returns `feature.Image` * Normalize filters PIL on forward * decode_image_with_pil returns feature.Image * Remove sample unpacking from Normalize * Removing debug method that cause mypy to complain * adding back helpful comment * undo change on normalize kernel to maintain the helpful error message to users who use the kernel directly * unused import
Showing
Please register or sign in to comment