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

Indepedent distribution does not have enumerate_support implemented #650

Closed
fehiepsi opened this issue Jun 29, 2020 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@fehiepsi
Copy link
Member

This bug is observed in #646.

@fehiepsi fehiepsi added the bug Something isn't working label Jun 29, 2020
@fritzo
Copy link
Member

fritzo commented Jun 29, 2020

Note we specifically avoided implementing IndependentDistribution.enumerate_support() in torch.distributions because the size of the cartesian product space grows exponentially in event_shape.numel(), so most uses would be impractical or lead to OOM errors.

@fehiepsi
Copy link
Member Author

I see. Thanks for explaining! I am going to ask this question in slack but you are so fast. :))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants