---
description: Explore detailed documentation on convolution modules like Conv, LightConv, GhostConv, and more used in Ultralytics models.
keywords: Ultralytics, convolution modules, Conv, LightConv, GhostConv, YOLO, deep learning, neural networks
---

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

!!! success "Improvements"

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

<br>

## ::: ultralytics.nn.modules.conv.Conv

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

## ::: ultralytics.nn.modules.conv.Conv2

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

## ::: ultralytics.nn.modules.conv.LightConv

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

## ::: ultralytics.nn.modules.conv.DWConv

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

## ::: ultralytics.nn.modules.conv.DWConvTranspose2d

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

## ::: ultralytics.nn.modules.conv.ConvTranspose

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

## ::: ultralytics.nn.modules.conv.Focus

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

## ::: ultralytics.nn.modules.conv.GhostConv

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

## ::: ultralytics.nn.modules.conv.RepConv

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

## ::: ultralytics.nn.modules.conv.ChannelAttention

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

## ::: ultralytics.nn.modules.conv.SpatialAttention

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

## ::: ultralytics.nn.modules.conv.CBAM

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

## ::: ultralytics.nn.modules.conv.Concat

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

## ::: ultralytics.nn.modules.conv.Index

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

## ::: ultralytics.nn.modules.conv.autopad

<br><br>
