You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1.7 KiB

description keywords
Explore Ultralytics YOLO neural network modules, Proto to BottleneckCSP. Detailed explanation of each module with easy-to-follow code examples. YOLO, Ultralytics, neural network, nn.modules.block, Proto, HGBlock, SPPF, C2, C3, RepC3, C3Ghost, Bottleneck, BottleneckCSP

Reference for ultralytics/nn/modules/block.py

!!! Note

This file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/nn/modules/block.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/nn/modules/block.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/block.py) 🛠. Thank you 🙏!

::: ultralytics.nn.modules.block.DFL




::: ultralytics.nn.modules.block.Proto




::: ultralytics.nn.modules.block.HGStem




::: ultralytics.nn.modules.block.HGBlock




::: ultralytics.nn.modules.block.SPP




::: ultralytics.nn.modules.block.SPPF




::: ultralytics.nn.modules.block.C1




::: ultralytics.nn.modules.block.C2




::: ultralytics.nn.modules.block.C2f




::: ultralytics.nn.modules.block.C3




::: ultralytics.nn.modules.block.C3x




::: ultralytics.nn.modules.block.RepC3




::: ultralytics.nn.modules.block.C3TR




::: ultralytics.nn.modules.block.C3Ghost




::: ultralytics.nn.modules.block.GhostBottleneck




::: ultralytics.nn.modules.block.Bottleneck




::: ultralytics.nn.modules.block.BottleneckCSP