Function broadcast_shape

Source
pub fn broadcast_shape(left: &[usize], right: &[usize]) -> Result<Shape, Error>
Expand description

Compute the shape which results from broadcasting the left and right shapes, if possible.