pub fn redistribute<T: Equivalence, C: CommunicatorCollectives>( arr: &[T], counts: &[i32], comm: &C, ) -> Vec<T>
Redistribute an array via an all_to_all_varcount operation.