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

why + torch.lgamma(ones).sum(dim=1, keepdim=True) in kl_divergence? #10

Open
roywang021 opened this issue Jun 26, 2022 · 2 comments
Open

Comments

@roywang021
Copy link

Torch.lgamma(1)=0 and no such term in the original paper

@JackJi12316
Copy link

i have the same question

@JackJi12316
Copy link

I may know that, ln(1)=0

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

No branches or pull requests

2 participants