uple



Transformer2DModelOutput if return_dict is True, otherwise a tuple. When
returning a tuple, the first element is the sample tensor.



Transformer2DModelOutput
	

class diffusers.models.transformer_2d.Transformer2DModelOutput

<
source
>
(
sample: FloatTensor

)


Parameters 

sample (torch.FloatTensor of shape (batch_size, num_channels, height, width) or (batch size, num_vector_embeds - 1, num_latent_pixels) if Transformer2DModel is di