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.logical_or.html below:

jax.numpy.logical_or — JAX documentation

jax.numpy.logical_or#
jax.numpy.logical_or = <jnp.ufunc 'logical_or'>#

Compute the logical OR operation elementwise.

JAX implementation of numpy.logical_or. This is a universal function, and supports the additional APIs described at jax.numpy.ufunc.

Parameters:
  • x – input arrays. Must be broadcastable to a common shape.

  • y – input arrays. Must be broadcastable to a common shape.

  • args (ArrayLike)

  • out (None)

  • where (None)

Returns:

Array containing the result of the element-wise logical OR.

Return type:

Any

Examples

>>> x = jnp.arange(4)
>>> jnp.logical_or(x, 1)
Array([ True,  True,  True,  True], 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