An optimized method for variational autoencoders based on Gaussian cloud model