code: def test_module_pooled_mch_ec(self) -> None:
      e_config = EmbeddingConfig(
          name="table_0",
          embedding_dim=80,
          num_embeddings=10000,
          feature_names=["f1"],
          data_type=DataType.FP16,
      )
      ec = EmbeddingCollection(tables=[e_config])
      mc_modules = {
          "table_0": cast(
              ManagedCollisionModule,
              MCHManagedCollisionModule(
                  zch_size=10000,
                  device=torch.device("meta"),
                  eviction_interval=1,
                  eviction_policy=DistanceLFU_EvictionPolicy(),
              ),
          ),
      }
      mcc = ManagedCollisionCollection(
          managed_collision_modules=mc_modules,
          embedding_configs=[e_config],
      )
      mch_ec = ManagedCollisionEmbeddingCollection(ec, mcc)
  
      shard_size = [10000, 80]
      shard_offsets = [[0, 0], [0, 80]]
      sharding_option: ShardingOption = ShardingOption(
          name="table_0",
          tensor=torch.empty(
              (10000, 160),
              dtype=torch.float16,
              device=torch.device("meta"),
          ),
          module=("mch_ec", mch_ec),
          input_lengths=MagicMock(),
          batch_size=MagicMock(),
          sharding_type=ShardingType.COLUMN_WISE.value,
          partition_by=MagicMock(),
          compute_kernel=EmbeddingComputeKernel.FUSED.value,
          shards=[
              Shard(size=shard_size, offset=offset)
              for offset in shard_offsets
          ],
      )
      self.assertEqual(sharding_option.is_pooled, False)
  
file_path: torchrec/torchrec/distributed/planner/tests/test_types.py
imports: import unittest
  from typing import cast
  from unittest.mock import MagicMock
  import torch
  from torchrec.distributed.embedding_types import EmbeddingComputeKernel
  from torchrec.distributed.planner.types import Shard, ShardingOption
  from torchrec.distributed.types import BoundsCheckMode, CacheAlgorithm, CacheParams, DataType, ShardingType
  from torchrec.modules.embedding_configs import EmbeddingBagConfig, EmbeddingConfig
  from torchrec.modules.embedding_modules import EmbeddingBagCollection, EmbeddingCollection
  from torchrec.modules.mc_embedding_modules import ManagedCollisionCollection, ManagedCollisionEmbeddingBagCollection, ManagedCollisionEmbeddingCollection
  from torchrec.modules.mc_modules import DistanceLFU_EvictionPolicy, ManagedCollisionModule, MCHManagedCollisionModule
label_desc: Use image node_id 5 for calling the TestShardingOption obj's underlying member method code with example usage: obj.test_module_pooled_mch_ec() without return types