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
Returns

The inner product of a and b.

Return type

cupy.ndarray

See also

numpy.inner()