spyrit.core.recon.Denoise_layer.reset_parameters

Denoise_layer.reset_parameters()[source]

Resets the standard deviation prior \(\sigma_\text{prior}\).

The values are initialized from \(\mathcal{U}(-\sqrt{k}, \sqrt{k})\), where \(k = 1/in\_features\). They are stored in the weight attribute.