PropensityScore.replace_rvs_by_values#

PropensityScore.replace_rvs_by_values(graphs, **kwargs)#

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

This will not recompute test values in the resulting graphs.

Parameters:
graphsarray_like

The graphs in which to perform the replacements.

Returns:
array_like
Parameters:

graphs (Sequence[TensorVariable])

Return type:

list[TensorVariable]