"...text-generation-inference.git" did not exist on "f6615080b9290a89d9e83d29257d510c8c994762"
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