jax.lax.ge#

jax.lax.ge(x, y)[source]#

Elementwise greater-than-or-equals: \(x \geq y\).

This function lowers directly to the stablehlo.compare operation with comparison_direction=GE and compare_type set according to the input dtype.

Parameters:
  • x (ArrayLike) – Input arrays. Must have matching non-complex dtypes. If neither is a scalar, x and y must have the same number of dimensions and be broadcast compatible.

  • y (ArrayLike) – Input arrays. Must have matching non-complex dtypes. If neither is a scalar, x and y must have the same number of dimensions and be broadcast compatible.

Returns:

A boolean array of shape lax.broadcast_shapes(x.shape, y.shape) containing the elementwise greater-than-or-equal comparison.

Return type:

Array

See also