pub fn reduce<T: Element>( x: &[T], shape: &[usize], axes: &[usize], op: ReduceOp, ) -> Vec<T>
Reduces x over axes, combining elements in row-major order.
x
axes