cupy.outer#
- cupy.outer(a, b, out=None)[source]#
Returns the outer product of two vectors.
The input arrays are flattened into 1-D vectors and then it performs outer product of these vectors.
- Parameters:
a (cupy.ndarray) – The first argument.
b (cupy.ndarray) – The second argument.
out (cupy.ndarray) – Output array.
- Returns:
2-D array of the outer product of
a
andb
.- Return type:
See also