pymc.distributions.shape_utils.change_dist_size#
- pymc.distributions.shape_utils.change_dist_size(dist, new_size, expand=False)[source]#
Change or expand the size of a Distribution.
- Parameters
- Returns
Anewdistributionvariablethatisequivalenttotheoriginaldistributionwiththenewsize.ThenewdistributionwillnotreusetheoldRandomState/Generatorinput,soitwillbeindependentfromtheoriginaldistribution.
Examples