o True) —
Whether or not to return a DecoderOutput instead of a plain tuple.




AutoencoderKLOutput
	

class diffusers.models.autoencoder_kl.AutoencoderKLOutput

<
source
>
(
latent_dist: DiagonalGaussianDistribution

)


Parameters 

latent_dist (DiagonalGaussianDistribution) —
Encoded outputs of Encoder represented as the mean and logvar of DiagonalGaussianDistribution.
DiagonalGaussianDistribution allows for sampling latents from the distri