ClikaRT::ops::masked_scatter
function
masked_scatter()
A copy of x with the leading count(mask) elements of src (read row-major) written at the positions where mask is true.
mask is Bool, broadcastable to x; src must supply at least count(mask) elements.
Throws
ClikaRT::Error: (INVALID_ARGUMENT) whensrcis too short ormaskis not Bool (code_name()carries the reason).
Returns: a new tensor shaped like x.
Declared in ClikaRT/compute/ops.h, line 2510