rTransformerOutput or tuple



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



set_attn_processor

<
source
>
(
processor: typing.Union[diffusers.models.attention_processor.AttnProcessor, diffusers.models.attention_processor.AttnProcessor2_0, diffusers.models.attention_processor.XFormersAttnProcessor, diffusers.models.attention_processor.SlicedAttnProcessor, di