Skip to main content

Module pool

Module pool 

Source
Expand description

Spatial pooling operations for observation extraction.

Pooling reduces the spatial resolution of a gathered observation buffer by sliding a window and computing an aggregate (mean, max, min, or sum) over valid cells within each window.

Functionsยง

pool_2d
Apply 2D spatial pooling to a gathered observation buffer.