- class brainpy.dnn.MaxPool(kernel_size, stride=1, padding='VALID', channel_axis=None, mode=None, name=None)#
Pools the input by taking the maximum over a window.
channel_axis (int, optional) – Axis of the spatial channels for which pooling is skipped, used to infer
strideif they are an integer.
mode (Mode) – The computation mode.
name (optional, str) – The object name.