- tensorstore.IndexDomain.translate_backward_by[self, offsets: collections.abc.Sequence[int | None] | int | None] IndexDomain
Returns a new view with the
origin
translated backward by the specified offsets.This is equivalent to
self[ts.d[:].translate_backward_by[offsets]]
.- Parameters:¶
- offsets: collections.abc.Sequence[int | None] | int | None¶
The offset for each dimensions. May also be a scalar, e.g.
5
, in which case the same offset is used for all dimensions. SpecifyingNone
for a given dimension (equivalent to specifying an offset of0
) leaves the origin of that dimension unchanged.