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.
79 lines
1.5 KiB
79 lines
1.5 KiB
---
|
|
description: Explore Ultralytics YOLO neural network modules, Proto to BottleneckCSP. Detailed explanation of each module with easy-to-follow code examples.
|
|
keywords: YOLO, Ultralytics, neural network, nn.modules.block, Proto, HGBlock, SPPF, C2, C3, RepC3, C3Ghost, Bottleneck, BottleneckCSP
|
|
---
|
|
|
|
# Reference for `ultralytics/nn/modules/block.py`
|
|
|
|
!!! note
|
|
|
|
Full source code for 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).
|
|
|
|
---
|
|
## ::: ultralytics.nn.modules.block.DFL
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.nn.modules.block.Proto
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.nn.modules.block.HGStem
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.nn.modules.block.HGBlock
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.nn.modules.block.SPP
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.nn.modules.block.SPPF
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.nn.modules.block.C1
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.nn.modules.block.C2
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.nn.modules.block.C2f
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.nn.modules.block.C3
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.nn.modules.block.C3x
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.nn.modules.block.RepC3
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.nn.modules.block.C3TR
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.nn.modules.block.C3Ghost
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.nn.modules.block.GhostBottleneck
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.nn.modules.block.Bottleneck
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.nn.modules.block.BottleneckCSP
|
|
<br><br>
|