# cupy.inner¶

cupy.inner(a, b)[source]

Returns the inner product of two arrays.

It uses the last axis of each argument to take sum product.

Parameters: a (cupy.ndarray) – The first argument. b (cupy.ndarray) – The second argument. The inner product of a and b. cupy.ndarray