# torch 2.15.0 (BSD-3-Clause), harvested by tools/harvest_corpus.py
=== input

        Shard and scatter a tensor on a mesh dimension (use coordinate 0 on the
        mesh dimension as source of truth).

        Create the local tensor for this rank following the given StridedShard
        placement. If src_data_rank is None, perform only local splitting.
        Otherwise, additionally scatter data from src_data_rank. Unlike
        ``_split_tensor``, which supports uneven sharding via padding, this
        method requires the tensor dimension to be evenly divisible by the
        number of chunks (mesh dimension size).
        
=== parse google
short_description: |
  Shard and scatter a tensor on a mesh dimension (use coordinate 0 on the
  mesh dimension as source of truth).
long_description: |
  Create the local tensor for this rank following the given StridedShard
  placement. If src_data_rank is None, perform only local splitting.
  Otherwise, additionally scatter data from src_data_rank. Unlike
  ``_split_tensor``, which supports uneven sharding via padding, this
  method requires the tensor dimension to be evenly divisible by the
  number of chunks (mesh dimension size).
blank_after_short_description: True
blank_after_long_description: False
style: google
=== detect
rest
=== compose google
Shard and scatter a tensor on a mesh dimension (use coordinate 0 on the
mesh dimension as source of truth).

Create the local tensor for this rank following the given StridedShard
placement. If src_data_rank is None, perform only local splitting.
Otherwise, additionally scatter data from src_data_rank. Unlike
``_split_tensor``, which supports uneven sharding via padding, this
method requires the tensor dimension to be evenly divisible by the
number of chunks (mesh dimension size).
