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
Returns

2-D array of the outer product of a and b.

Return type

cupy.ndarray

See also

numpy.outer()