Learn Before
Example
Region of Interest Pooling Computation Example
Consider an illustrative example of a region of interest (RoI) pooling layer computation. Suppose we select the upper-left region of interest on a input matrix and apply a RoI pooling layer. This pooling layer divides the region into a grid of subwindows to obtain a output. Because the subwindow dimensions must be integers, they are rounded up. The four resulting subwindows contain the following elements from the input matrix: and ; and ; and ; and . By extracting the maximum value from each of these subwindows, the RoI pooling layer produces an output matrix containing and .
0
1
Updated 2026-05-21
Tags
D2L
Dive into Deep Learning @ D2L