tensorstore.TensorStore.fill_value : ArrayLike | None

Fill value for positions not yet written.

Equal to None if the fill value is unknown or not applicable.

The fill value has data type equal to self.dtype and a shape that is broadcast-compatible with self.shape.

Example

>>> store = await ts.open(
...     {
...         'driver': 'zarr',
...         'kvstore': {
...             'driver': 'memory'
...         }
...     },
...     create=True,
...     shape=[100],
...     dtype=ts.uint32,
...     fill_value=42)
>>> store.fill_value
array(42, dtype=uint32)