Files
HuggingFace_transformer/tests
Younes Belkada ef0f85cd57 [Vision] .to function for ImageProcessors (#20536)
* add v1 with tests

* add checker

* simplified version

* update docstring

* better version

* fix docstring + change order

* make style

* tests + change conditions

* final tests

* modify docstring

* Update src/transformers/feature_extraction_utils.py

Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>

* replace by `ValueError`

* fix logic

* apply suggestions

* `dtype` is not needed

* adapt suggestions

* remove `_parse_args_to_device`

Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
2022-12-05 19:10:54 +01:00
..
2022-11-14 01:04:26 -05:00
2022-12-05 11:39:09 -05:00
2022-12-05 16:50:38 +01:00
2022-10-18 13:47:36 -04:00
2022-11-30 14:47:54 +00:00