code: def __init__(
      self,
      e_sharder: Union[
          EmbeddingBagCollectionSharder, EmbeddingCollectionSharder
      ],
      mc_sharder: ManagedCollisionCollectionSharder,
      qcomm_codecs_registry: Optional[
          Dict[str, QuantizedCommCodecs]
      ] = None,
  ) -> None:
      super().__init__(qcomm_codecs_registry=qcomm_codecs_registry)
      self._e_sharder: Union[
          EmbeddingBagCollectionSharder, EmbeddingCollectionSharder
      ] = e_sharder
      self._mc_sharder: ManagedCollisionCollectionSharder = mc_sharder
  
imports: import logging
  from typing import Dict, Iterator, List, Optional, Tuple, Type, TypeVar, Union
  import torch
  from torch.autograd.profiler import record_function
  from torchrec.distributed.embedding import EmbeddingCollectionSharder, ShardedEmbeddingCollection
  from torchrec.distributed.embedding_types import BaseEmbeddingSharder, EmbeddingComputeKernel, KJTList, ShardedEmbeddingModule
  from torchrec.distributed.embeddingbag import EmbeddingBagCollectionSharder, ShardedEmbeddingBagCollection
  from torchrec.distributed.mc_modules import ManagedCollisionCollectionSharder, ShardedManagedCollisionCollection
  from torchrec.distributed.types import Awaitable, LazyAwaitable, Multistreamable, NoWait, ParameterSharding, QuantizedCommCodecs, ShardingEnv
  from torchrec.distributed.utils import append_prefix
  from torchrec.modules.embedding_modules import EmbeddingBagCollection, EmbeddingCollection
  from torchrec.modules.mc_embedding_modules import BaseManagedCollisionEmbeddingCollection, ManagedCollisionEmbeddingBagCollection, ManagedCollisionEmbeddingCollection
  from torchrec.sparse.jagged_tensor import KeyedJaggedTensor, KeyedTensor
label_desc: Use image node_id 1 to create a new BaseManagedCollisionEmbeddingCollectionSharder object from inherited base classes: BaseEmbeddingSharder with example: obj = BaseManagedCollisionEmbeddingCollectionSharder(e_sharder, mc_sharder, qcomm_codecs_registry)