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