mr2.nn.convND

mr2.nn.convND(n_dim: int) → type[Conv1d] | type[Conv2d] | type[Conv3d][source]

Get the n_dim-dimensional convolution class.

Parameters:

n_dim (int) – The dimension of the convolution.

Returns:

The convolution class.