jax.numpy.not_equal
Warning
This page was created from a pull request (#9655).
jax.numpy.not_equalΒΆ
- jax.numpy.not_equal(x1, x2)ΒΆ
Return (x1 != x2) element-wise.
LAX-backend implementation of
not_equal()
.Original docstring below.
- Parameters
x1 (array_like) β Input arrays. If
x1.shape != x2.shape
, they must be broadcastable to a common shape (which becomes the shape of the output).x2 (array_like) β Input arrays. If
x1.shape != x2.shape
, they must be broadcastable to a common shape (which becomes the shape of the output).
- Returns
out β Output array, element-wise comparison of x1 and x2. Typically of type bool, unless
dtype=object
is passed. This is a scalar if both x1 and x2 are scalars.- Return type
ndarray or scalar