Variational Bayesian Quantization