tensorstore.Schema.chunk_layout : ChunkLayout

Chunk layout constraints specified by the schema.

Example

>>> schema = ts.Schema(chunk_layout=ts.ChunkLayout(inner_order=[0, 1, 2]))
>>> schema.update(chunk_layout=ts.ChunkLayout(grid_origin=[0, 0, 0]))
>>> schema.chunk_layout
ChunkLayout({'grid_origin': [0, 0, 0], 'inner_order': [0, 1, 2]})

Note

Each access to this property returns a new copy of the chunk layout. Modifying the returned chunk layout (e.g. by calling tensorstore.ChunkLayout.update) will not affect the schema object from which it was obtained.