pymc.Group.make_size_and_deterministic_replacements#

Group.make_size_and_deterministic_replacements(s, d, more_replacements=None)[source]#

Dev - creates correct replacements for initial depending on sample size and deterministic flag

Parameters:
s: scalar

sample size

d: bool or scalar

whether sampling is done deterministically

more_replacements: dict

replacements for shape and initial

Returns:
dict with replacements for initial