You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following model.dlogp() raises a NotImplemented error:
with pm.Model() as model:
x = pm.Normal('x', shape=(2,))
mu = x.max()
pm.Normal('obs', mu, observed=np.random.uniform())
This should be differentiable (pt.max has gradients implemented), so it seems like something is going wrong in rewrites, either with respect to logp rewrites or with respect to MaxAndArgmax