R/ops.R
mlx_maximum.Rd
Elementwise maximum of two mlx arrays
mlx_maximum(x, y)
mlx arrays or objects coercible with as_mlx().
as_mlx()
An mlx array containing the elementwise maximum.
mlx.core.maximum
mlx_maximum(1:3, c(3, 2, 1)) #> mlx array [3] #> dtype: float32 #> device: gpu #> values: #> [1] 3 2 3