ent pixels). —
When continuous, torch.FloatTensor of shape (batch size, channel, height, width)): Input
hidden_states


encoder_hidden_states ( torch.FloatTensor of shape (batch size, sequence len, embed dims), optional) —
Conditional embeddings for cross attention layer. If not given, cross-attention defaults to
self-attention.


timestep ( torch.LongTensor, optional) —
Optional timestep to be applied as an embedding in AdaLayerNorm’s. Used to