mlx.core.maximum# maximum(a: scalar | array, b: scalar | array, /, *, stream: None | Stream | Device = None) → array# 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. 參數: a (array) -- Input array or scalar. b (array) -- Input array or scalar. 回傳: The max of a and b. 回傳型別: array