|
Download docs/en/reference/utils/torch_utils.md from CloudAnts/OCRDemo: direct link, hf CLI and curl.
- Browser
- Download file 2.61 kB
-
https://huggingface.co/spaces/CloudAnts/OCRDemo/resolve/main/docs/en/reference/utils/torch_utils.md
- Command line
-
hf download hf://spaces/CloudAnts/OCRDemo/docs/en/reference/utils/torch_utils.md
-
curl -L -o torch_utils.md https://huggingface.co/spaces/CloudAnts/OCRDemo/resolve/main/docs/en/reference/utils/torch_utils.md
2.61 kB
metadata
description: >-
Explore Ultralytics-tailored torch utility features like Model EMA, early
stopping, smart inference, image scaling, get_flops, and many more.
keywords: >-
Ultralytics, Torch Utils, Model EMA, Early Stopping, Smart Inference, Get CPU
Info, Time Sync, Fuse Deconv and bn, Get num params, Get FLOPs, Scale img,
Copy attr, Intersect dicts, De_parallel, Init seeds, Profile
Reference for ultralytics/utils/torch_utils.py
!!! Note
This file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/torch_utils.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/torch_utils.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/torch_utils.py) 🛠️. Thank you 🙏!