Skip to contents

Elementwise maximum of two mlx arrays

Usage

mlx_maximum(x, y)

Arguments

x, y

mlx arrays or objects coercible with as_mlx().

Value

An mlx array containing the elementwise maximum.

See also

Examples

if (FALSE) { # \dontrun{
mlx_maximum(1:3, c(3, 2, 1))
} # }