src/transformers/models/speech_to_text/modeling_tf_speech_to_text.py/TFSpeech2TextForConditionalGeneration/get_encoder
class TFSpeech2TextForConditionalGeneration:    def get_encoder(self):
        return self.model.encoder