tensorstore.Spec.mark_bounds_implicit[self, implicit: bool | None | slice] Spec

Returns a new view with the lower/upper bounds changed to implicit/explicit.

This is equivalent to self[ts.d[:].mark_bounds_implicit[implicit]].

Parameters:
implicit: bool | None | slice

Indicates the new implicit value for the lower and upper bounds. Must be one of:

  • None to indicate no change;

  • True to change both lower and upper bounds to implicit;

  • False to change both lower and upper bounds to explicit.

  • a slice, where start and stop specify the new implicit value for the lower and upper bounds, respectively, and each must be one of None, True, or False.

Raises:

IndexError – If the resultant domain would have an input dimension referenced by an index array marked as implicit.