Skip to main content

numpy_broadcast

Function numpy_broadcast 

Source
pub fn numpy_broadcast(a: &[usize], b: &[usize]) -> Option<Vec<usize>>
Expand description

The general NumPy broadcasting rule: align trailing dimensions; a dimension of 1 or a missing dimension stretches to the other operand’s.