ClikaRT::ops::IndexSlice
struct
Header: ClikaRT/compute/tensor.h
A [start, stop, step) range at one subscript position. Each slot is an IndexBound: an int literal, a 0-D/1-D integer Tensor, or absent (open bound; absent step is 1). all below is the fully-open slice.
Member functions
IndexSlice()
IndexSlice() =default
Declared in ClikaRT/compute/tensor.h, line 823
IndexSlice(IndexBound, IndexBound, IndexBound)
IndexSlice(
IndexBound start_,
IndexBound stop_,
IndexBound step_ = IndexBound{}
)
Compose start:stop:step; each bound is an int literal, a 0-D integer Tensor, or absent.
Declared in ClikaRT/compute/tensor.h, line 826
Data members
start
IndexBound start
first index (absent = from the start)
Declared in ClikaRT/compute/tensor.h, line 819
stop
IndexBound stop
one-past-last (absent = to the end)
Declared in ClikaRT/compute/tensor.h, line 820
step
IndexBound step
stride (absent = 1)
Declared in ClikaRT/compute/tensor.h, line 821