A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.jax.dev/en/latest/_autosummary/jax.numpy.isneginf.html below:

jax.numpy.isneginf — JAX documentation

jax.numpy.isneginf#
jax.numpy.isneginf(x, /, out=None)[source]#

Return boolean array indicating whether each element of input is negative infinite.

JAX implementation of numpy.isneginf.

Parameters:

x – input array or scalar. complex dtype are not supported.

Returns:

A boolean array of same shape as x containing True where x is -inf, and False otherwise.

See also

Examples

>>> jnp.isneginf(jnp.inf)
Array(False, dtype=bool)
>>> x = jnp.array([-jnp.inf, 5, jnp.inf, jnp.nan, 1])
>>> jnp.isneginf(x)
Array([ True, False, False, False, False], dtype=bool)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4