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 automatically sets the stride to . This convention ensures that consecutive pooling windows do not overlap, so each input element contributes to exactly one output element. On a input, a 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