KLGaussian
- class colibri.regularizers.KLGaussian(mean=0.01, stddev=2.0)[source]
Bases:
Module
KL Divergence Regularization for Gaussian Distributions.
Code adapted from [2] Jacome, Roman, Pablo Gomez, and Henry Arguello. “Middle output regularized end-to-end optimization for computational imaging.” Optica 10.11 (2023): 1421-1431.
where
and are the mean and standard deviation of the input tensor , respectively, and and are the target mean and standard deviation, respectively.