Skip to main content

ClikaRT::ops::index_put_

function

index_put_()

Tensor& index_put_(
    Tensor& self,
    ClikaRT::Span<const IndexEntry> indices,
    ScalarOrTensor value,
    bool accumulate = false
)

In-place self[indices] = value (or += with accumulate); returns the mutated self so it chains.

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