l, optional, defaults to True) —
Whether or not to return a models.unet_2d_condition.UNet2DConditionOutput instead of a plain tuple.


cross_attention_kwargs (dict, optional) —
A kwargs dictionary that if specified is passed along to the AttnProcessor as defined under
self.processor in
diffusers.cross_attention.


Returns

UNet2DConditionOutput or tuple



UNet2DConditionOutput if return_dict is True, otherwise a tuple. When
returning a tuple, 