Skip to content

Commit

Permalink
update density dist docstring to v4 API (#5523)
Browse files Browse the repository at this point in the history
Co-authored-by: ntomasino <nick.w.tomasino@gmail.com>
  • Loading branch information
nikisix and ntomasino authored Feb 25, 2022
1 parent 4dade6d commit ac2b82e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymc/distributions/distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -803,8 +803,8 @@ def random(mu, rng=None, size=None):
observed=np.random.randn(100, 3),
size=(100, 3),
)
prior = pm.sample_prior_predictive(10)['density_dist']
assert prior.shape == (10, 100, 3)
prior = pm.sample_prior_predictive(10).prior_predictive['density_dist']
assert prior.shape == (1, 10, 100, 3)
"""

Expand Down

0 comments on commit ac2b82e

Please sign in to comment.