Adaptive Nonparametric Variational Autoencoder