pymc.Model.replace_rvs_by_values#

Model.replace_rvs_by_values(graphs, **kwargs)[source]#

Clone and replace random variables in graphs with their value variables.

This will not recompute test values in the resulting graphs.

Parameters
graphs

The graphs in which to perform the replacements.