-
tensorstore.OutputIndexMap(input_dimension: int, offset: int =
0
, stride: int =1
) Constructs a single input dimension map.
Example
>>> transform = ts.IndexTransform( ... input_rank=1, ... output=[ts.OutputIndexMap(input_dimension=0, offset=5, stride=2)]) >>> [transform([i]) for i in range(5)] [(5,), (7,), (9,), (11,), (13,)]