fusers.cross_attention.


output_type (str, optional, defaults to "np") —
The output format of the generate image. Choose between:
"np": Return Numpy np.ndarray objects.
"pt": Return PyTorch torch.Tensor objects.



Returns

StableDiffusionPipelineOutput or tuple



StableDiffusionPipelineOutput if return_dict is True, otherwise a `tuple.
When returning a tuple, the first element is a list with the generated audios.


Function invoked when call