---
description: Learn about Ultralytics utils patches including imread, imshow and torch_save. Enhance your image processing skills.
keywords: Ultralytics, Utils, Patches, imread, imshow, torch_save, image processing
---
# Reference for `ultralytics/utils/patches.py`
!!! Note
This file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/patches.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/patches.py). If you spot a problem please help fix it by [contributing](https://docs.ultralytics.com/help/contributing/) a [Pull Request](https://github.com/ultralytics/ultralytics/edit/main/ultralytics/utils/patches.py) 🛠️. Thank you 🙏!
## ::: ultralytics.utils.patches.imread
## ::: ultralytics.utils.patches.imwrite
## ::: ultralytics.utils.patches.imshow
## ::: ultralytics.utils.patches.torch_save