-
#include "tensorstore/index_interval.h" -
Result<std::pair<OptionallyImplicitIndexInterval, Index>>
tensorstore::ExtractStridedSlice(OptionallyImplicitIndexInterval orig,
IntervalForm interval_form,
Index start,
Index stop_or_size,
Index stride); Equivalent to
ExtractHalfOpenStridedSlice,ExtractHalfOpenStridedSlice, orExtractHalfOpenStridedSlicedepending on the value ofinterval_form.