https://medium.com/@monocosmo77/how-latent-diffusion-works-in-different-machine-learning-scenarios-part4-d0496685f8ce