.)

forward

<
source
>
(
sample: FloatTensor
return_dict: bool = True

)


Parameters 

sample (torch.FloatTensor) — Input sample.


return_dict (bool, optional, defaults to 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 (DiagonalGaussianDistributi