public AveragePooling2D(poolSize as Tuple, strides as Long, padding as String = "valid")
Configures independent window reductions with no trainable parameters.
| Parameter | Description |
|---|---|
poolSize | Positive (height, width) window. |
strides | Positive shared step; -1 uses the window size. |
padding | valid or same; odd padding goes to bottom/right. |
layer = AveragePooling2D<Float>((2, 3), strides=1)