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