Skip to content
tmpl

scatter_add_axis_lines

void scatter_add_axis_lines()

dst[..., idx[..., k, ...], ...] += grad[..., k, ...] along axis, into dst of output_shape (zeroed by the caller). A negative position counts from the end of the axis.