# MatMul¶

## MatMul - 13¶

### Version¶

• name: MatMul (GitHub)

• 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.

### 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.

## MatMul - 9¶

### Version¶

• name: MatMul (GitHub)

• 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.

### 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.

## MatMul - 1¶

### Version¶

• name: MatMul (GitHub)

• 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.

### 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.