src/transformers/models/perceiver/modeling_perceiver.py/PerceiverTextPreprocessor/__init__
class PerceiverTextPreprocessor:    def __init__(self, config: PerceiverConfig) -> None:
        super().__init__()
        self.config = config
        self.embeddings = nn.Embedding(num_embeddings=config.vocab_size, embedding_dim=config.d_model)
        self.position_embeddings = nn.Embedding(config.max_position_embeddings, config.d_model)