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

Add method to retrieve distribution arguments. #1913

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

tillahoffmann
Copy link
Contributor

This PR separates getting distribution arguments and validating them (cf. #1866). The utility function allows for retrieval of arguments without having to check which arguments were set when the distribution was constructed (e.g., scale_tril, precision_matrix, or covariance_matrix for MultivariateNormal distributions).

Copy link
Member

@fehiepsi fehiepsi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Till!

@fehiepsi fehiepsi merged commit 5c2eafa into pyro-ppl:master Nov 19, 2024
4 checks passed
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.

2 participants