matmul

ivy.matmul(x1, x2, f=None)[source]

Computes the matrix product of two arrays x1 and x2.

Parameters
  • x1 (array) – Input array 1.

  • x2 (array) – Input array 2.

  • f (ml_framework, optional) – Machine learning framework. Inferred from inputs if None.

Returns

The matrix product of the input arrays.


Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty