pymc.MeanField.make_size_and_deterministic_replacements#

MeanField.make_size_and_deterministic_replacements(s, d, more_replacements=None)#

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

Parameters:
s: scalar

sample size

d: bool

whether sampling is done deterministically

more_replacements: dict

replacements for shape and initial

Returns:
dict with replacements for initial