src/transformers/models/switch_transformers/modeling_switch_transformers.py/SwitchTransformersStack/set_input_embeddings
class SwitchTransformersStack:    def set_input_embeddings(self, new_embeddings):
        self.embed_tokens = new_embeddings