--- description: Explore various Ultralytics convolution modules including Conv2, DWConv, ConvTranspose, GhostConv, Channel Attention and more. keywords: Ultralytics, Convolution Modules, Conv2, DWConv, ConvTranspose, GhostConv, ChannelAttention, CBAM, autopad --- # Reference for `ultralytics/nn/modules/conv.py` !!! Note This file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/nn/modules/conv.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/nn/modules/conv.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/nn/modules/conv.py) 🛠️. Thank you 🙏! --- ## ::: ultralytics.nn.modules.conv.Conv

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

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

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

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

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

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

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

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

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

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

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

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

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