Make crop work the same for pil and tensor (#3770)
* Make crop work the same for pil and tensor
* Only call pad if needed in functional_tensor.crop
* Fix top-left functional_tensor.crop
* Update document for functional.crop
* Add other test cases of functional.crop
* Fix bug
* Fixing formattter
* Fix stylings
Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
Showing
Please register or sign in to comment