Skip to main content

ClikaRT::ops::scatter_reduce_

function

scatter_reduce_()

Tensor& scatter_reduce_(
    Tensor& self,
    int64_t dim,
    Tensor index,
    Tensor src,
    ScatterReduceMode reduce,
    bool include_self = true,
    bool deterministic = false
)

In-place scatter_reduce: reduces into self at the indexed positions; same arguments and error conditions as scatter_reduce(). A strided view reaches its base buffer. Returns self under the value surface, Result<void> under the Result surface; CLIKART_CHECK is the mode-stable spelling.

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