mlx.core.inner

目錄

mlx.core.inner#

inner(a: array, b: array, /, *, stream: None | Stream | Device = None) array#

Ordinary inner product of vectors for 1-D arrays, in higher dimensions a sum product over the last axes.

參數:
  • a (array) -- Input array

  • b (array) -- Input array

回傳:

The inner product.

回傳型別:

array