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
.
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)
Array containing the result of the element-wise logical OR.
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