code: def __init__(
      self,
      ebc_sharder: Optional[EmbeddingBagCollectionSharder] = None,
      mc_sharder: Optional[ManagedCollisionCollectionSharder] = None,
      qcomm_codecs_registry: Optional[
          Dict[str, QuantizedCommCodecs]
      ] = None,
  ) -> None:
      super().__init__(
          ebc_sharder
          or EmbeddingBagCollectionSharder(
              qcomm_codecs_registry=qcomm_codecs_registry
          ),
          mc_sharder or ManagedCollisionCollectionSharder(),
          qcomm_codecs_registry=qcomm_codecs_registry,
      )
  
imports: from dataclasses import dataclass
  from typing import Dict, Optional, Type
  import torch
  from torchrec.distributed.embedding_types import KJTList
  from torchrec.distributed.embeddingbag import EmbeddingBagCollectionContext, EmbeddingBagCollectionSharder, ShardedEmbeddingBagCollection
  from torchrec.distributed.mc_embedding_modules import BaseManagedCollisionEmbeddingCollectionSharder, BaseShardedManagedCollisionEmbeddingCollection
  from torchrec.distributed.mc_modules import ManagedCollisionCollectionSharder
  from torchrec.distributed.types import ParameterSharding, QuantizedCommCodecs, ShardingEnv
  from torchrec.modules.mc_embedding_modules import ManagedCollisionEmbeddingBagCollection
label_desc: Use image node_id 1 to create a new ManagedCollisionEmbeddingBagCollectionSharder object from inherited base classes: BaseManagedCollisionEmbeddingCollectionSharder with example: obj = ManagedCollisionEmbeddingBagCollectionSharder(ebc_sharder, mc_sharder, qcomm_codecs_registry)