mr2.nn.maxPoolND

mr2.nn.maxPoolND(n_dim: int) → type[MaxPool1d] | type[MaxPool2d] | type[MaxPool3d][source]

Get the n_dim-dimensional max pooling class.

Parameters:

n_dim (int) – The dimension of the max pooling.

Returns:

The max pooling class.