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.
- Returns
The inner product of
a
andb
.- Return type
See also