nal) —
Conditional embeddings for cross attention layer. If not given, cross-attention defaults to
self-attention.


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


class_labels ( torch.LongTensor of shape (batch size, num classes), optional) —
Optional class labels to be applied as an embedding in AdaLayerZeroNorm. Used to indicate class labels
conditionin