code: def sharding_types(self, compute_device_type: str) -> List[str]:
      return [
          ShardingType.ROW_WISE.value,
          ShardingType.TABLE_WISE.value,
      ]
  
imports: import unittest
  from typing import List
  import torch
  from torch import nn
  from torchrec.distributed.embedding_types import EmbeddingComputeKernel
  from torchrec.distributed.embeddingbag import EmbeddingBagCollectionSharder
  from torchrec.distributed.planner.planners import EmbeddingShardingPlanner
  from torchrec.distributed.planner.stats import NoopEmbeddingStats
  from torchrec.distributed.planner.types import Topology
  from torchrec.distributed.test_utils.test_model import TestSparseNN
  from torchrec.distributed.types import ModuleSharder, ShardingType
  from torchrec.modules.embedding_configs import EmbeddingBagConfig
label_desc: Use image node_id 1 for calling the TWvsRWSharder obj's underlying member method code with example usage: obj.sharding_types(compute_device_type) and returns: list