Unified Pad and F.pad opertion for PIL and Tensor inputs (#2345)
* [WIP] Add Tensor implementation for pad
* Unified Pad and F.pad opertion for PIL and Tensor inputs
* Added another test and improved docstring
* Updates according to the review
* Cosmetics and replaced f-string by "".format
* Updated docstring
- added compatibility support for padding as [value, ] for functional_pil.pad
Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
Showing
Please register or sign in to comment