ct, optional) —
A kwargs dictionary that if specified is passed along to the AttentionProcessor 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, the first element is the sample tensor.



set_attention_slice

<
source
>
(
slice_size

)


Parameters 

slice_size (str or int or list(int), optional, def