le_posterior: bool = False
return_dict: bool = True
generator: typing.Optional[torch._C.Generator] = None

)


Parameters 

sample (torch.FloatTensor) — Input sample.


sample_posterior (bool, optional, defaults to False) —
Whether to sample from the posterior.


return_dict (bool, optional, defaults to True) —
Whether or not to return a DecoderOutput instead of a plain tuple.




Transformer2DModel
	

class diffusers.Transformer2DModel

<
sour