Skip to main content

ClikaRT::ops::narrow

function

narrow()

Tensor narrow(
    Tensor x,
    int64_t dim,
    IndexBound start,
    IndexBound length
)

length elements from start along dim. Both are int literals or 0-D integer Tensors (a tensor-valued window never syncs to the host).

Declared in ClikaRT/compute/ops.h, line 3357