Skip to main content

broadcast_matmul_shape

Function broadcast_matmul_shape 

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

Compute the shapes needed to multiply the left and right matrices, if possible.