-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix Dirichlet.logp by checking number of categories > 1 only at event dims * Update test_distributions.py * Removed the shape validation check to even work for last dimensional shape as 1. Modified the `test_dirichlet` function to check for the same. * Added a test to check Dirichlet.logp with different batch shapes. * Tested exact Dirichlet.logp values againt scipy implementation Given a mention in RELEASE-NOTES.md
- Loading branch information
Showing
3 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters