mlx_rs::ops

Function inner_device

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

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