diff --git a/pymc/variational/operators.py b/pymc/variational/operators.py index f6ef095723..29845088fc 100644 --- a/pymc/variational/operators.py +++ b/pymc/variational/operators.py @@ -142,6 +142,7 @@ def __init__(self, approx, temperature=1): def apply(self, f): # f: kernel function for KSD f(histogram) -> (k(x,.), \nabla_x k(x,.)) + pytensor.dprint(self.approx.model.logp()) if _known_scan_ignored_inputs([self.approx.model.logp()]): raise NotImplementedInference( "SVGD does not currently support Minibatch or Simulator RV" diff --git a/requirements-dev.txt b/requirements-dev.txt index b21437de01..8aff7d60c9 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -30,4 +30,4 @@ sphinx>=1.5 sphinxext-rediraffe types-cachetools typing-extensions>=3.7.4 -watermark \ No newline at end of file +watermark