Numpyro: Indepedent distribution does not have `enumerate_support` implemented

Created on 29 Jun 2020  路  2Comments  路  Source: pyro-ppl/numpyro

This bug is observed in #646.

bug

Most helpful comment

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.

All 2 comments

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.

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

Was this page helpful?
0 / 5 - 0 ratings