Pointwise log-likelihood for loo/waic with custom "black-box" probability distribution

Did you figure out a solution? I am stuck on the same problem