mlx_rs::ops

Function minimum_device

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

Element-wise minimum.

Take the element-wise min of two arrays with numpy-style broadcasting semantics. Either or both input arrays can also be scalars.