transformers/tests/models/layoutlmv2
amyeroberts 292acd71d6
Update image processor parameters if creating with kwargs (#20866)
* Update parameters if creating with kwargs

* Shallow copy to prevent mutating input

* Pass all args in constructor dict - warnings in init

* Fix typo
2023-01-04 14:29:48 +00:00
..
__init__.py Move test model folders (#17034) 2022-05-03 14:42:02 +02:00
test_feature_extraction_layoutlmv2.py Update image processor parameters if creating with kwargs (#20866) 2023-01-04 14:29:48 +00:00
test_modeling_layoutlmv2.py Fixes torch jit tracing for LayoutLMv2 model (re-open) (#18313) 2022-07-27 06:38:40 -04:00
test_processor_layoutlmv2.py Vision processors - replace FE with IPs (#20590) 2022-12-09 10:48:34 +00:00
test_tokenization_layoutlmv2.py add warning to let the user know that the __call__ method is faster than encode + pad for a fast tokenizer (#18693) 2022-08-24 06:27:56 -04:00