Add Fast Image Processor for LayoutLMv3 (#37201)

* support fast image processor layoutlmv3

* make style

* add warning and update test

* make style

* Update src/transformers/models/layoutlmv3/image_processing_layoutlmv3_fast.py

* Update image_processing_auto.py

---------

Co-authored-by: Yoni Gozlan <74535834+yonigozlan@users.noreply.github.com>
This commit is contained in:
Vinh H. Pham
2025-04-14 20:42:11 +07:00
committed by GitHub
parent 7bff4bdcf6
commit 1897a02d83
5 changed files with 222 additions and 29 deletions

View File

@@ -88,6 +88,11 @@ LayoutLMv3 is nearly identical to LayoutLMv2, so we've also included LayoutLMv2
[[autodoc]] LayoutLMv3ImageProcessor
- preprocess
## LayoutLMv3ImageProcessorFast
[[autodoc]] LayoutLMv3ImageProcessorFast
- preprocess
## LayoutLMv3Tokenizer
[[autodoc]] LayoutLMv3Tokenizer