tiled.structures.sparse.COOStructure
- class tiled.structures.sparse.COOStructure(chunks: Tuple[Tuple[int, ...], ...], shape: Tuple[int, ...], dims: Optional[Tuple[str, ...]] = None, resizable: Union[bool, Tuple[bool, ...]] = False, layout: tiled.structures.sparse.SparseLayout = <SparseLayout.COO: 'COO'>)[source]
- __init__(chunks: Tuple[Tuple[int, ...], ...], shape: Tuple[int, ...], dims: Tuple[str, ...] | None = None, resizable: bool | Tuple[bool, ...] = False, layout: SparseLayout = SparseLayout.COO) None
Methods
__init__
(chunks, shape[, dims, resizable, ...])from_json
(structure)Attributes
dims
layout
resizable
chunks
shape