Skip to content

Remove size option from sample_posterior_predictive #5771

Closed
@ricardoV94

Description

@ricardoV94

We should remove this option, as the call to change_rv_size will break any dependencies across resized variables.

pymc/pymc/sampling.py

Lines 1740 to 1741 in 85468b0

if size is not None:
vars_to_sample = [change_rv_size(v, size, expand=True) for v in vars_to_sample]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions