src/transformers/models/switch_transformers/modeling_switch_transformers.py/SwitchTransformersForConditionalGeneration/get_encoder
class SwitchTransformersForConditionalGeneration:    def get_encoder(self):
        return self.encoder