mlx.core.outer

目录

mlx.core.outer#

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

Compute the outer product of two 1-D arrays, if the array's passed are not 1-D a flatten op will be run beforehand.

参数:
  • a (array) -- Input array

  • b (array) -- Input array

返回:

The outer product.

返回类型:

array