pub fn reduce_window<T: Element>(
x: &[T],
shape: &[usize],
w: &Window<'_>,
op: ReduceOp,
) -> Vec<T>Expand description
reduce_window_sum, reduce_window_max, reduce_window_min: combines
the elements of each window, from the identity, in row-major order of
the window (padding and holes are skipped). This is XLA’s order on CPU
for windows without padding; with padding, XLA sums some windows in
another order.