mlx_rs::ops

Function minimum

Source
pub fn minimum(a: impl AsRef<Array>, b: impl AsRef<Array>) -> 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.