pymc.pytensorf.make_shared_replacements#
- 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.
- Parameters:
- point: dictionary mapping variable names to sample values
- vars: list of variables not to make shared
- model: model
- Returns:
Dict
ofvariable
->new
shared
variable