---
title: nn.modules.utils API Reference
description: Explore the detailed reference of utility functions in the Ultralytics PyTorch modules. Learn about initialization, inverse sigmoid, and multiscale deformable attention.
keywords: Ultralytics, PyTorch, utils, initialization, inverse sigmoid, multiscale deformable attention, deep learning, neural networks
---

# Reference for `ultralytics/nn/modules/utils.py`

!!! success "Improvements"

    This page is sourced from [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/nn/modules/utils.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/nn/modules/utils.py). Have an improvement or example to add? Open a [Pull Request](https://docs.ultralytics.com/help/contributing) — thank you! 🙏

<br>

## ::: ultralytics.nn.modules.utils._get_clones

<br><br><hr><br>

## ::: ultralytics.nn.modules.utils.bias_init_with_prob

<br><br><hr><br>

## ::: ultralytics.nn.modules.utils.linear_init

<br><br><hr><br>

## ::: ultralytics.nn.modules.utils.inverse_sigmoid

<br><br><hr><br>

## ::: ultralytics.nn.modules.utils.multi_scale_deformable_attn_pytorch

<br><br>
