losses

KLD_standard_normal

morgana.losses.KLD_standard_normal(mean, log_variance)[source]

Calculates KL-divergence of \(\mathbb{N}\) (mean, log_variance) with \(\mathbb{N}(0, 1)\).