# 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. 2-D array of the outer product of a and b. cupy.ndarray