transformers/tests/models/vilt
amyeroberts 41d56ea6dd
Refactor image processor testers (#25450)
* Refactor image processor test mixin

- Move test_call_numpy, test_call_pytorch, test_call_pil to mixin
- Rename mixin to reflect handling of logic more than saving
- Add prepare_image_inputs, expected_image_outputs for tests

* Fix for oneformer
2023-08-11 11:30:18 +01:00
..
__init__.py
test_image_processing_vilt.py Refactor image processor testers (#25450) 2023-08-11 11:30:18 +01:00
test_modeling_vilt.py Fix `test_model_parallelism` (#25359) 2023-08-08 10:48:45 +02:00