Ordinary inner product of vectors for 1-D arrays (without complex conjugation), in higher dimensions a sum product over the last axes.np.inner([1,2,3], [4,5,6]) # 32apply to last axis numpy.inner — NumPy v2.1 ManualOrdinary inner product of vectors for 1-D arrays (without complex conjugation), in higher dimensions a sum product over the last axes.https://numpy.org/doc/stable/reference/generated/numpy.inner.html