code: def __init__(
      self, num_embedding, eviction_config=None, transform_config=None
  ):
      self._num_embedding = num_embedding
      if not eviction_config:
          eviction_config = {"type": "mixed_lru_lfu"}
      if not transform_config:
          transform_config = {"type": "naive"}
      config = json.dumps(
          {
              "lxu_strategy": eviction_config,
              "id_transformer": transform_config,
          }
      )
      self._transformer = torch.classes.tde.IDTransformer(
          num_embedding, config
      )
  
file_path: torchrec/contrib/dynamic_embedding/src/torchrec_dynamic_embedding/id_transformer.py
imports: import json
  import os
  import torch
  from .tensor_list import TensorList
label_desc: Use image node_id 1 to create a new IDTransformer object  with example: obj = IDTransformer(num_embedding, eviction_config, transform_config)