mr2.nn.batchNormND

mr2.nn.batchNormND(n_dim: int) → type[BatchNorm1d] | type[BatchNorm2d] | type[BatchNorm3d][source]

Get the n_dim-dimensional batch normalization class.

Parameters:

n_dim (int) – The dimension of the batch normalization.

Returns:

The batch normalization class.