- class tensorstore.ChunkLayout.Grid
Describes a regular grid layout for write/read/codec chunks.
Constructors¶
- Grid(json: Any)
Constructs from the
JSON representation
.
Public members¶
-
to_json(include_defaults: bool =
False
) Any Converts to the
JSON representation
.
- shape_soft_constraint : tuple[int | None, ...] | None
Soft constraints on chunk shape.
- aspect_ratio : tuple[float | None, ...] | None
Chunk shape aspect ratio.
- aspect_ratio_soft_constraint : tuple[float | None, ...] | None
Soft constraints on chunk shape aspect ratio.
- elements_soft_constraint : int | None
Soft constraint on target number of elements per chunk.
Comparison operators¶
- __eq__(other: ChunkLayout.Grid) bool
Compares two chunk grids for equality.