# cupy.vdot¶

cupy.vdot(a, b)[source]

Returns the dot product of two vectors.

The input arrays are flattened into 1-D vectors and then it performs inner product of these vectors.

Parameters: a (cupy.ndarray) – The first argument. b (cupy.ndarray) – The second argument. Zero-dimensional array of the dot product result. cupy.ndarray