r_free_guidance = True
num_images_per_prompt = 1
device = None
negative_prompt = None
prompt_embeds: typing.Optional[torch.FloatTensor] = None
negative_prompt_embeds: typing.Optional[torch.FloatTensor] = None
clean_caption: bool = False

)


Parameters 

prompt (str or List[str], optional) —
prompt to be encoded



Encodes the prompt into text encoder hidden states.
device: (torch.device, optional):
torch device to place the resulting embedding