transformers/tests/models/wav2vec2
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
test_feature_extraction_wav2vec2.py Fix wav2vec2 is_batched check to include 2-D numpy arrays (#23223) 2023-05-22 12:57:45 -04:00
test_modeling_flax_wav2vec2.py Fix env. variable type issue in testing (#21609) 2023-02-13 20:53:26 +01:00
test_modeling_tf_wav2vec2.py Better TF docstring types (#23477) 2023-05-24 13:52:52 +01:00
test_modeling_wav2vec2.py Time to Say Goodbye, torch 1.7 and 1.8 (#22291) 2023-03-21 19:22:01 +01:00
test_processor_wav2vec2.py [processor] Add 'model input names' property (#20117) 2022-11-10 19:29:20 +00:00
test_tokenization_wav2vec2.py Fix wav2vec2 is_batched check to include 2-D numpy arrays (#23223) 2023-05-22 12:57:45 -04:00