former_2d.TransformerTemporalModelOutput or tuple



~models.transformer_2d.TransformerTemporalModelOutput if return_dict is True, otherwise a tuple.
When returning a tuple, the first element is the sample tensor.



Transformer2DModelOutput
	

class diffusers.models.transformer_temporal.TransformerTemporalModelOutput

<
source
>
(
sample: FloatTensor

)


Parameters 

sample (torch.FloatTensor of shape (batch_size x num_frames, num_channels, h