-
#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
, orExtractHalfOpenStridedSlice
depending on the value ofinterval_form
.