Skip to content

Function tstop

function tstop(signed_index_t, signed_index_t) base

constexpr KFR_INTRINSIC tensor_range tstop(signed_index_t stop, signed_index_t step = 1) { … }

Build a range that stops at stop.

Parameters
stop Stopping index (exclusive).
step Step value (defaults to 1).
Returns
A tensor_range with the given stop and step.

Fully qualified name: kfr::tstop(signed_index_t, signed_index_t)

Declared at base/shape.hpp:947