def is_contiguous(self) -> bool:
    '\n        Returns True if the sharded tensor (each local shard) is contiguous in memory\n        in the order specified by memory format.\n        '
    return (self._metadata.tensor_properties.memory_format == torch.contiguous_format)
Returns True if the sharded tensor (each local shard) is contiguous in memory
in the order specified by memory format.
def is_contiguous(self) -> bool:
    '\n        Returns True if the sharded tensor (each local shard) is contiguous in memory\n        in the order specified by memory format.\n        '
    return (self._metadata.tensor_properties.memory_format == torch.contiguous_format)