We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2806c23 commit d5dc9ccCopy full SHA for d5dc9cc
pymc/variational/opvi.py
@@ -1073,11 +1073,11 @@ def symbolic_normalizing_constant(self):
1073
for v in self.group
1074
if isinstance(v.owner.op, MinibatchRandomVariable)
1075
]
1076
- + [1.0] # To avoid empty max
+ + [pm.floatX(1.0)] # To avoid empty max
1077
)
1078
1079
t = self.symbolic_single_sample(t)
1080
- return pm.floatX(t)
+ return t
1081
1082
@node_property
1083
def symbolic_logq_not_scaled(self):
0 commit comments