Reparameterization Gradient for Non-differentiable Models