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
Great! I'm all in favor of optimizations like this. We should try to make it apply as often as possible.
In methods like HMC, we associate to each measure $\mu \in \mathcal{M}(X)$ a transform $f : \mathbb{R}^n \to X$. The transform maps to the support of $\mu$ by construction, so we can ignore the call to insupport and call unsafe_logdensityof directly. So my first thought is to add a method for that.
In some cases, we'd gain performance by specializing
logdensityof
directly:The text was updated successfully, but these errors were encountered: