pub fn gather<B: Backend, T: Element, I: Int>(
x: &Array<B, T>,
indices: &Array<B, I>,
dims: &GatherDims,
slice_sizes: &[usize],
mode: GatherScatterMode,
) -> Array<B, T>Expand description
gather (the index vector is the last dimension of indices).