class_docstr: Redistributes pooled embedding tensor in RW fashion with an AlltoOne operation.
  
  Args:
      device (torch.device): device on which the tensors will be communicated to.
      world_size (int): number of devices in the topology.
code: def __init__(
      self,
      device: torch.device,
      world_size: int,
  ) -> None:
      super().__init__()
      self._dist: EmbeddingsAllToOneReduce = EmbeddingsAllToOneReduce(
          device=device,
          world_size=world_size,
      )
  
imports: import math
  from typing import Any, cast, Dict, List, Optional, Tuple, TypeVar, Union
  import torch
  import torch.distributed
  from torchrec.distributed.dist_data import EmbeddingsAllToOneReduce, KJTAllToAll, KJTOneToAll, PooledEmbeddingsReduceScatter, VariableBatchPooledEmbeddingsReduceScatter
  from torchrec.distributed.embedding_lookup import GroupedPooledEmbeddingsLookup, InferGroupedPooledEmbeddingsLookup
  from torchrec.distributed.embedding_sharding import BaseEmbeddingDist, BaseEmbeddingLookup, BaseSparseFeaturesDist, bucketize_kjt_before_all2all, EmbeddingSharding, EmbeddingShardingContext, EmbeddingShardingInfo, group_tables
  from torchrec.distributed.embedding_types import BaseGroupedFeatureProcessor, EmbeddingComputeKernel, GroupedEmbeddingConfig, KJTList, ShardedEmbeddingTable
  from torchrec.distributed.types import Awaitable, CommOp, NullShardingContext, QuantizedCommCodecs, ShardedTensorMetadata, ShardingEnv, ShardMetadata
  from torchrec.sparse.jagged_tensor import KeyedJaggedTensor
  from torchrec.streamable import Multistreamable
label_desc: Use image node_id 1 to create a new InferRwPooledEmbeddingDist object from inherited base classes: BaseEmbeddingDist with example: obj = InferRwPooledEmbeddingDist(device, world_size)