Files
HuggingFace_transformer/docs/source
lewtun 50dd314d93 Add ONNX export for ViT (#15658)
* Add ONNX support for ViT

* Refactor to use generic preprocessor

* Add vision dep to tests

* Extend ONNX slow tests to ViT

* Add dummy image generator

* Use model_type to determine modality

* Add deprecation warnings for tokenizer argument

* Add warning when overwriting the preprocessor

* Add optional args to docstrings

* Add minimum PyTorch version to OnnxConfig

* Refactor OnnxConfig class variables from CONSTANT_NAME to snake_case

* Add reasonable value for default atol

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
2022-03-09 17:36:59 +01:00
..
2022-02-23 13:58:33 -06:00
2021-12-22 16:14:35 -05:00
2022-01-31 17:03:06 +01:00
2021-12-22 16:14:35 -05:00
2021-12-27 19:07:46 -05:00
2022-01-28 19:01:37 -06:00
2021-12-27 19:07:46 -05:00
2020-04-06 14:32:39 -04:00
2021-12-27 19:07:46 -05:00
2021-12-22 16:14:35 -05:00
2021-12-22 16:14:35 -05:00
2022-02-01 18:28:12 -06:00
2021-12-22 16:14:35 -05:00