Skip to main content

ClikaRT::ops::masked_scatter_

function

masked_scatter_()

Tensor& masked_scatter_(
    Tensor& self,
    Tensor mask,
    Tensor source
)

In-place masked_scatter: writes src's leading elements through self where mask is true; same arguments and error conditions as masked_scatter(). A view input writes through its base storage. 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 2515