-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Fix Dirichlet.logp #4454
Fix Dirichlet.logp #4454
Conversation
This is the first time I am seeing a workflow running over 1.5 hours. Am I missing something? (EDIT - It took around 2 hours 15 minutes to finish the entire workflow) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the tests check out, I'm good with these changes.
@Sayam753, this needs to be rebased before squashing and merging. |
…shape as 1. Modified the `test_dirichlet` function to check for the same.
Given a mention in RELEASE-NOTES.md
dff39d3
to
1333c23
Compare
Thanks @brandonwillard for helpful reviews. |
Thank your for opening a PR!
Depending on what your PR does, here are a few things you might want to address in the description:
Fixes Issue with sampling from batches of Dirichlet distributions #4452
Compute Dirichlet.logp by checking for number of categories > 1 only at event dims (as per wiki page).
Yes