- tensorstore.TensorStore.translate_to[self, origins: Iterable[int | None] | int | None] TensorStore
Returns a new view with
origintranslated to the specified origin.This is equivalent to
self[ts.d[:].translate_to[origins]].- Parameters:¶
- Raises:¶
IndexError – If the number origins does not match the number of dimensions.
IndexError – If any of the selected dimensions has a lower bound of
-inf.