on model. When decoding, the latents are scaled back to the original scale with the formula: z = 1
/ scaling_factor  z. For more details, refer to sections 4.3.2 and D.1 of the High-Resolution Image
Synthesis with Latent Diffusion Models paper.


dtype (jnp.dtype, optional, defaults to jnp.float32) —
parameters dtype



Flax Implementation of Variational Autoencoder (VAE) model with KL loss from the paper Auto-Encoding Variational
Bayes by Died