tensorstore.OutputIndexMap(offset: int = 0)

Constructs a constant map.

Example

>>> transform = ts.IndexTransform(input_rank=0,
...                               output=[ts.OutputIndexMap(offset=5)])
>>> transform([])
(5,)