mlx_rs::ops

Function inner

Source
pub fn inner(a: impl AsRef<Array>, b: impl AsRef<Array>) -> Result<Array>
Expand description

Ordinary inner product of vectors for 1-D arrays, in higher dimensions a sum product over the last axes.