mlx.core.greater_equal

Contents

mlx.core.greater_equal#

greater_equal(a: scalar | array, b: scalar | array, stream: None | Stream | Device = None) array#

Element-wise greater or equal.

Greater than or equal on two arrays with numpy-style broadcasting semantics. Either or both input arrays can also be scalars.

Parameters:
  • a (array) – Input array or scalar.

  • b (array) – Input array or scalar.

Returns:

The element-wise comparison a >= b.

Return type:

array