Modal Uncertainty Estimation via Discrete Latent Representation