Seeing and squeezingLesson 2 of 9Free preview

Feature maps, stride and padding

A 3 × 3 filter on a 5 × 5 image gives a 3 × 3 map. Stride 2 halves it; padding 1 keeps the size. Output = ⌊(n + 2p − k)/s⌋ + 1.