https://medium.com/@monocosmo77/recent-updates-on-variational-autoencoder-part10-deep-learning-fall23-88cca2983c06