Fixed sampling from autoencoder.