MCPcopy Create free account
hub / github.com/diffusion-classifier/diffusion-classifier / normal_kl

Function normal_kl

eval_prob_dit.py:60–86  ·  view source on GitHub ↗

Compute the KL divergence between two gaussians. Shapes are automatically broadcasted, so batches can be compared to scalars, among other use cases.

(mean1, logvar1, mean2, logvar2)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

eval_probFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected