Compute the outer product of two arrays.
JAX implementation of numpy.outer()
.
The outer product of the inputs a
and b
. Returned array will be of shape (a.size, b.size)
.
Examples
>>> a = jnp.array([1, 2, 3]) >>> b = jnp.array([4, 5, 6]) >>> jnp.outer(a, b) Array([[ 4, 5, 6], [ 8, 10, 12], [12, 15, 18]], dtype=int32)
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