Learn Before
Example
Max-Pooling Computation Example
Consider a max-pooling layer applied to an input tensor. The pooling window starts from the upper-left and slides across the tensor. At each location, it outputs the maximum value of the input subtensor in the window. For example, if the elements in a given window are , the output is . This operation is repeated for all regions traversed by the window, generating an output tensor where each element is derived from the maximum value in its respective pooling window.
0
1
Updated 2026-05-12
Tags
D2L
Dive into Deep Learning @ D2L