pymc.Approximation.get_optimization_replacements#

Approximation.get_optimization_replacements(s, d)[source]#

Dev - optimizations for logP. If sample size is static and equal to 1: then pytensor.scan MC estimate is replaced with single sample without call to pytensor.scan.