pymc.Empirical.get_optimization_replacements#

Empirical.get_optimization_replacements(s, d)#

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.