Skip to main content

Module conv

Module conv 

Source
Expand description

Conv + BatchNorm + activation block.

Functions§

conv
Conv2d → BatchNorm2d → SiLU — the basic building block of YOLO26.
conv_bn
Conv2d(groups) → BatchNorm2d — no activation.
conv_plain
Plain Conv2d with bias — no BatchNorm, no activation.
dwconv
Depth-wise Conv2d (groups = c) → BatchNorm2d → SiLU.