(l-onnx-doc-MatMul)= # MatMul (l-onnx-op-matmul-13)= ## MatMul - 13 ### Version - **name**: [MatMul (GitHub)](https://github.com/onnx/onnx/blob/main/docs/Operators.md#MatMul) - **domain**: `main` - **since_version**: `13` - **function**: `False` - **support_level**: `SupportType.COMMON` - **shape inference**: `True` This version of the operator has been available **since version 13**. ### Summary Matrix product that behaves like [numpy.matmul](https://numpy.org/doc/stable/reference/generated/numpy.matmul.html). ### Inputs - **A** (heterogeneous) - **T**: N-dimensional matrix A - **B** (heterogeneous) - **T**: N-dimensional matrix B ### Outputs - **Y** (heterogeneous) - **T**: Matrix multiply results from A * B ### Type Constraints * **T** in ( `tensor(bfloat16)`, `tensor(double)`, `tensor(float)`, `tensor(float16)`, `tensor(int32)`, `tensor(int64)`, `tensor(uint32)`, `tensor(uint64)` ): Constrain input and output types to float/int tensors. ```{toctree} text_diff_MatMul_9_13 ``` (l-onnx-op-matmul-9)= ## MatMul - 9 ### Version - **name**: [MatMul (GitHub)](https://github.com/onnx/onnx/blob/main/docs/Operators.md#MatMul) - **domain**: `main` - **since_version**: `9` - **function**: `False` - **support_level**: `SupportType.COMMON` - **shape inference**: `True` This version of the operator has been available **since version 9**. ### Summary Matrix product that behaves like [numpy.matmul](https://numpy.org/doc/stable/reference/generated/numpy.matmul.html). ### Inputs - **A** (heterogeneous) - **T**: N-dimensional matrix A - **B** (heterogeneous) - **T**: N-dimensional matrix B ### Outputs - **Y** (heterogeneous) - **T**: Matrix multiply results from A * B ### Type Constraints * **T** in ( `tensor(double)`, `tensor(float)`, `tensor(float16)`, `tensor(int32)`, `tensor(int64)`, `tensor(uint32)`, `tensor(uint64)` ): Constrain input and output types to float/int tensors. ```{toctree} text_diff_MatMul_1_13 text_diff_MatMul_1_9 ``` (l-onnx-op-matmul-1)= ## MatMul - 1 ### Version - **name**: [MatMul (GitHub)](https://github.com/onnx/onnx/blob/main/docs/Operators.md#MatMul) - **domain**: `main` - **since_version**: `1` - **function**: `False` - **support_level**: `SupportType.COMMON` - **shape inference**: `True` This version of the operator has been available **since version 1**. ### Summary Matrix product that behaves like [numpy.matmul](https://numpy.org/doc/stable/reference/generated/numpy.matmul.html). ### Inputs - **A** (heterogeneous) - **T**: N-dimensional matrix A - **B** (heterogeneous) - **T**: N-dimensional matrix B ### Outputs - **Y** (heterogeneous) - **T**: Matrix multiply results from A * B ### Type Constraints * **T** in ( `tensor(double)`, `tensor(float)`, `tensor(float16)` ): Constrain input and output types to float tensors.