Concept

Default Stride Behavior in Pooling Layers

Unlike convolutional layers—where the default stride is 11—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)(3, 3) automatically sets the stride to (3,3)(3, 3). This convention ensures that consecutive pooling windows do not overlap, so each input element contributes to exactly one output element. On a 4imes44 imes 4 input, a (3,3)(3, 3) max-pooling layer with this default stride produces a 1imes11 imes 1 output containing the maximum value of the top-left 3imes33 imes 3 region.

0

1

Updated 2026-05-12

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L