mlx_rs::ops

Function maximum_device

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

Element-wise maximum.

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