Learn Before
Concept
Region of Interest Pooling Layer
The region of interest (RoI) pooling layer is introduced in Fast R-CNN to extract fixed-shape features from regions of interest of varying sizes. Unlike standard pooling layers that indirectly control output shape through window size, padding, and stride, RoI pooling allows the output shape (e.g., ) to be specified directly. For an input region of shape , the RoI pooling layer divides the region into an grid of subwindows, where each subwindow is approximately of shape . The subwindow dimensions are rounded up, and the maximum element in each subwindow is taken as its output.
0
1
Updated 2026-05-21
Tags
D2L
Dive into Deep Learning @ D2L