src/transformers/models/whisper/modeling_tf_whisper.py/TFWhisperForConditionalGeneration/get_encoder
class TFWhisperForConditionalGeneration:    def get_encoder(self):
        return self.model.get_encoder()