src/transformers/models/informer/modeling_informer.py/InformerFeatureEmbedder/__init__
class InformerFeatureEmbedder:    def __init__(self, cardinalities: List[int], embedding_dims: List[int]) -> None:
        super().__init__()

        self.num_features = len(cardinalities)
        self.embedders = nn.ModuleList([nn.Embedding(c, d) for c, d in zip(cardinalities, embedding_dims)])