transformers/tests/models/swin2sr
amyeroberts 6bca43bb90
Input data format (#25464)
* Add copied from statements for image processors

* Move out rescale and normalize to base image processor

* Remove rescale and normalize from vit (post rebase)

* Update docstrings and tidy up

* PR comments

* Add input_data_format as preprocess argument

* Resolve tests and tidy up

* Remove num_channels argument

* Update doc strings -> default ints not in code formatting
2023-08-16 17:45:02 +01:00
..
__init__.py Add Swin2SR (#19784) 2022-12-16 16:24:01 +01:00
test_image_processing_swin2sr.py Input data format (#25464) 2023-08-16 17:45:02 +01:00
test_modeling_swin2sr.py Skip test_multi_gpu_data_parallel_forward for some model tests (#21991) 2023-03-07 14:23:36 +01:00