def sharding_spec(self) -> ShardingSpec:
    '\n        Returns the ShardingSpec for the tensor.\n        '
    return self._sharding_spec
Returns the ShardingSpec for the tensor.
def sharding_spec(self) -> ShardingSpec:
    '\n        \n        '
    return self._sharding_spec