the output of the pre-final layer will be used for computing the prompt embeddings.    Encodes the prompt into text encoder hidden states.  forward_loop  < source > ( x_t0 t0 t1 generator  ) → x_t1  Parameters   generator (torch.Generator or List[torch.Generator], optional) —