src/transformers/models/speecht5/modeling_speecht5.py/SpeechT5TextEncoderPrenet/forward
class SpeechT5TextEncoderPrenet:    def forward(self, input_ids: torch.Tensor):
        inputs_embeds = self.embed_tokens(input_ids)
        inputs_embeds = self.encode_positions(inputs_embeds)
        return inputs_embeds