transformers/docs/source
amyeroberts 5041bc3511
Image transforms add center crop (#19718)
* Add center crop to transforms library

* Return PIL images if PIL image input by default

* Fixup and add docstring

* Trigger CI

* Update src/transformers/image_transforms.py

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>

* Update src/transformers/image_transforms.py

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>

* PR comments - move comments; unindent

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
2022-10-19 16:15:01 +01:00
..
de german training, accelerate and model sharing (#19171) 2022-09-23 14:52:09 -04:00
en Image transforms add center crop (#19718) 2022-10-19 16:15:01 +01:00
es Syntax issues (paragraphs 122, 130, 147, 155) Documentation: @sgugger (#19437) 2022-10-12 13:18:11 -04:00
it Add Italian translation for add_new_model.mdx (#18713) 2022-10-10 10:12:40 -04:00
pt Fix LayoutXLM wrong link in README (#18932) 2022-09-08 07:32:41 -04:00
_config.py Use doc builder styler (#16412) 2022-03-28 07:45:18 -04:00