Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use tf.contrib.distributions.KL instead of utility function #504

Merged
merged 1 commit into from
Mar 4, 2017

Conversation

dustinvtran
Copy link
Member

@dustinvtran dustinvtran commented Mar 4, 2017

This generalizes KL penalties beyond the normal. It does everything #456 does, but it is not waiting on a utility function for detecting if z and qz have a registered KL function.

Remarks

  • In generalizing the KL penalties, I removed this inference.data.get(z, 1.0) term which I don't know why exists. It don't think it would ever be z instead of 1.0. I need to investigate this further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant