src/transformers/models/pegasus_x/modeling_pegasus_x.py/PegasusXForConditionalGeneration/get_encoder
class PegasusXForConditionalGeneration:    def get_encoder(self):
        return self.model.get_encoder()