src/transformers/models/time_series_transformer/modeling_time_series_transformer.py/TimeSeriesFeatureEmbedder/__init__
class TimeSeriesFeatureEmbedder:    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)])