discrete latent representation