tensorstore.Spec.chunk_layout : ChunkLayout

Effective chunk layout, including any constraints implied by driver-specific options.

Example

>>> spec = ts.Spec({
...     'driver': 'zarr',
...     'kvstore': {
...         'driver': 'memory'
...     },
...     'metadata': {
...         'chunks': [100, 200, 300],
...         'order': 'C'
...     }
... })
>>> spec.chunk_layout
ChunkLayout({})

Note

This does not perform any I/O. Only directly-specified constraints are included.