scatterElements function
Implementation
VARP scatterElements(VARP data, VARP indices, VARP updates, {VARP? axis, int reduction = -1}) =>
switch (axis) {
null => VARP.fromPointer(C.mnn_expr_ScatterElements(data.ptr, indices.ptr, updates.ptr, reduction)),
VARP() => VARP.fromPointer(
C.mnn_expr_ScatterElements_1(data.ptr, indices.ptr, updates.ptr, axis.ptr, reduction),
),
};