- tensorstore.Spec.translate_by[self, offsets: collections.abc.Sequence[int | None] | int | None] Spec
Returns a new view with the
origintranslated by the specified offsets.
This is equivalent to
- offsets: collections.abc.Sequence[int | None] | int | None¶
The offset for each dimension. May also be a scalar, e.g.
5, in which case the same offset is used for all dimensions. Specifying
Nonefor a given dimension (equivalent to specifying an offset of
0) leaves the origin of that dimension unchanged.