Files
HuggingFace_transformer/tests/models
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-02 17:38:44 +01:00
2022-11-14 01:04:26 -05:00
2022-11-15 11:33:09 -05:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-11-02 11:57:36 +00:00
2022-05-03 14:42:02 +02:00
2022-12-05 10:12:03 -05:00
2022-05-03 14:42:02 +02:00
2022-11-02 17:38:44 +01:00
2022-11-02 11:57:36 +00:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-11-29 10:38:01 +00:00
2022-11-02 11:57:36 +00:00
2022-11-02 17:38:44 +01:00
2022-11-02 17:38:44 +01:00
2022-05-03 14:42:02 +02:00
2022-11-30 14:47:54 +00:00
2022-05-03 14:42:02 +02:00
2022-11-02 17:38:44 +01:00
2022-11-14 01:04:26 -05:00
2022-11-02 11:57:36 +00:00
2022-11-02 17:38:44 +01:00
2022-11-15 11:33:09 -05:00
2022-05-12 16:25:55 -04:00
2022-11-02 11:57:36 +00:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-11-02 11:57:36 +00:00
2022-05-03 14:42:02 +02:00
2022-05-12 16:25:55 -04:00
2022-05-03 14:42:02 +02:00
2022-11-02 11:57:36 +00:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-06-24 16:26:14 +02:00
2022-07-27 11:14:47 -04:00
2022-11-14 01:04:26 -05:00
2022-11-02 11:57:36 +00:00
2022-11-02 11:57:36 +00:00
2022-05-03 14:42:02 +02:00
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
2022-05-03 14:42:02 +02:00