This will become a stochastic likelihood and HMC does not differentiate over these stochastic node. You don’t need a custom sampler for this.
This will become a stochastic likelihood and HMC does not differentiate over these stochastic node. You don’t need a custom sampler for this.