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
2016-10-14 13:01:43
Comments
Leave a Comment

Please login to continue.