tf.contrib.distributions.RegisterKL

class tf.contrib.distributions.RegisterKL

Decorator to register a KL divergence implementation function.

Usage:

@distributions.RegisterKL(distributions.Normal, distributions.Normal) def _kl_normal_mvn(norm_a, norm_b): # Return KL(norm_a || norm_b)

doc_TensorFlow
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.