transformers/tests/models/layoutlmv3
Matt f8b2574416
Better TF docstring types (#23477)
* Rework TF type hints to use | None instead of Optional[] for tf.Tensor

* Rework TF type hints to use | None instead of Optional[] for tf.Tensor

* Don't forget the imports

* Add the imports to tests too

* make fixup

* Refactor tests that depended on get_type_hints

* Better test refactor

* Fix an old hidden bug in the test_keras_fit input creation code

* Fix for the Deit tests
2023-05-24 13:52:52 +01:00
..
__init__.py Add LayoutLMv3 (#17060) 2022-05-24 09:53:45 +02:00
test_image_processing_layoutlmv3.py Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
test_modeling_layoutlmv3.py Don't use LayoutLMv2 and LayoutLMv3 in some pipeline tests (#22774) 2023-04-17 17:45:20 +02:00
test_modeling_tf_layoutlmv3.py Better TF docstring types (#23477) 2023-05-24 13:52:52 +01:00
test_processor_layoutlmv3.py Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
test_tokenization_layoutlmv3.py fix LayoutLMv3TokenizerFast subword label after 'Ġ' token (#21695) 2023-04-03 10:32:36 -04:00