[Fast Processor] BEiT (#37005)
* adding fast processor for beit
* adding resample
* address review issues and add segmentation maps logic
* style
* chore: adding tests
* reduce label test
* adding batched tests
* Update src/transformers/models/beit/image_processing_beit_fast.py
Co-authored-by: Yoni Gozlan <74535834+yonigozlan@users.noreply.github.com>
* fix imports and make segmentation masks
* fix tests
* build segmentation maps
* all tests pass
* style
* style fix
* style
* chore: delete demo.py file
* review suggestions
* Update docs/source/en/model_doc/beit.md
Co-authored-by: Yoni Gozlan <74535834+yonigozlan@users.noreply.github.com>
---------
Co-authored-by: Yoni Gozlan <74535834+yonigozlan@users.noreply.github.com>