Losses Index: KL Divergence from nn KL Divergence from nn blitz.losses.kl_divergence_from_nn(model) Returns the summed KL Divergence of each of the models bayesian layers. Parameters: model - torch.nn.Module