Concept
Default Stride Behavior in Pooling Layers
Unlike convolutional layers—where the default stride is —deep learning frameworks set the default stride of a pooling layer equal to the pooling window size. For example, specifying a pooling window of shape (3, 3) automatically sets the stride to (3, 3). This convention ensures that consecutive pooling windows do not overlap, so each input element contributes to exactly one output element. On a input, a (3, 3) max-pooling layer with this default stride produces a output containing the maximum value of the top-left region.
0
1
Updated 2026-05-12
Tags
D2L
Dive into Deep Learning @ D2L