Ch 7 — CNNs — Under the Hood
Convolution math, output dimensions, parameter counting, 1×1 convolutions, depthwise separable, and FLOP analysis
Under the Hood
-
Click play or press Space to begin. Click any node for deep-dive details...
AConvolution MathCross-correlation · output dimensions · multi-channel convolution
1calculate
Conv FormulaDot product
sliding window
2straighten
Output SizeStride, padding
dimension formula
3arrow_downward Parameter counting and computational cost
BParameters & ComputationWeight counting · FLOPs · memory footprint
tag
Param CountK\u00b2\u00b7C_in\u00b7C_out
per conv layer
4speed
FLOPsMultiply-adds
per layer
5arrow_downward Advanced convolution types: 1\u00d71 and depthwise separable
CAdvanced Convolutions1×1 convolutions · depthwise separable · dilated convolutions
filter_1
1×1 ConvChannel mixing
dimensionality control
6grid_view
Depthwise Sep.Spatial + channel
factored convolution
7arrow_downward ResNet and Inception block internals
DArchitecture InternalsResNet bottleneck · Inception module · EfficientNet scaling
alt_route
ResNet BlockBottleneck design
1\u00d71 \u2192 3\u00d73 \u2192 1\u00d71
8account_tree
InceptionMulti-scale parallel
branches merged
9arrow_downward Object detection and segmentation architectures
EDetection & SegmentationYOLO grid · anchor boxes · U-Net encoder-decoder
select_all
YOLOGrid cells, anchors
single-pass detection
10gradient
U-NetEncoder-decoder
skip connections