pymc.pytensorf.make_shared_replacements(point, vars, model)[source]#

Makes shared replacements for all other variables than the ones passed.

This way functions can be called many times without setting unchanging variables. Allows us to use func.trust_input by removing the need for DictToArrayBijection and kwargs.

point: dictionary mapping variable names to sample values
vars: list of variables not to make shared
model: model
Dict of variable -> new shared variable