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

Fix DiscreteUniform.enumerate_support with non-trivial batch shape #1859

Merged
merged 2 commits into from
Sep 16, 2024

Conversation

fehiepsi
Copy link
Member

@fehiepsi fehiepsi commented Sep 5, 2024

Currently, enumerate_support of DiscreteUniform raises an error when either low or high parameter has non-trivial shape. This fixes the issue and adds a test to cover the change.

Unblock #1835

@martinjankowiak martinjankowiak merged commit ca8fb39 into pyro-ppl:master Sep 16, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants