pub fn scatter_single(
a: impl AsRef<Array>,
indices: impl AsRef<Array>,
updates: impl AsRef<Array>,
axis: i32,
) -> Result<Array>Expand description
Scatter updates to the array at the given indices along a single axis.
ยงParams
a: Input arrayindices: Indices array specifying positions to scatter intoupdates: Values to scatteraxis: The axis along which to scatter