code: 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)
          ]
      )
  
file_path: gluonts/src/gluonts/torch/modules/feature.py
imports: from typing import List, Optional
  import torch
  import torch.nn
label_desc: Use image node_id 1 to create a new FeatureEmbedder object from inherited base classes: nn with example: obj = FeatureEmbedder(cardinalities, embedding_dims)