libreasr.lib.utils.n_params

libreasr.lib.utils.n_params(m)[source]

Get the number of parameters for a PyTorch nn.Module m