A newer version of the Gradio SDK is available:
5.9.1
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
Full source code for 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). Help us fix any issues you see by submitting a [Pull Request](https://docs.ultralytics.com/help/contributing/) ๐ ๏ธ. Thank you ๐!