Method MatMul2D
MatMul2D(TensorFloat, TensorFloat, bool, bool)
Performs a matrix multiplication operation with optional transposes: f(a, b) = a' x b'.
Declaration
public TensorFloat MatMul2D(TensorFloat X, TensorFloat Y, bool xTranspose, bool yTranspose)
Parameters
| Type | Name | Description |
|---|---|---|
| TensorFloat | X | The first input tensor. |
| TensorFloat | Y | The second input tensor. |
| bool | xTranspose | Whether to transpose the first input tensor before performing the matrix multiplication. |
| bool | yTranspose | Whether to transpose the second input tensor before performing the matrix multiplication. |
Returns
| Type | Description |
|---|---|
| TensorFloat | The computed output tensor. |