faults to True) —
Whether or not to return a models.unet_2d_condition.UNet3DConditionOutput instead of a plain tuple.


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


Returns

~models.unet_2d_condition.UNet3DConditionOutput or tuple



~models.unet_2d_condition.UNet3DConditionOutput if return_dict is True, o