def local_shards(self) -> List[Shard]:
    "\n        Returns a list of :class:`Shard' corresponding to the\n        local shards for this rank. Returns an empty list if the current rank\n        does not host any shards for this Tensor.\n        "
    return self._local_shards
Returns a list of :class:`Shard' corresponding to the
local shards for this rank. Returns an empty list if the current rank
does not host any shards for this Tensor.
def local_shards(self) -> List[Shard]:
    "\n        Returns a list of :class:`Shard' corresponding to the\n        local shards for this rank. Returns an empty list if the current rank\n        does not host any shards for this Tensor.\n        "
    return self._local_shards