Class MatMul2D
Represents a MatMul2D math operation layer which performs a matrix multiplication operation with optional transposes: f(a, b) = a' x b'.
Inherited Members
Namespace: Unity.Sentis.Layers
Assembly: solution.dll
Syntax
[Serializable]
public class MatMul2D : Layer
Constructors
| Name | Description |
|---|---|
| MatMul2D(string, string, bool, string, bool) | Initializes and returns an instance of |
Fields
| Name | Description |
|---|---|
| transposeA | Whether to transpose the first input before performing the matrix multiplication. |
| transposeB | Whether to transpose the second input before performing the matrix multiplication. |
Methods
| Name | Description |
|---|---|
| Execute(Tensor[], ExecutionContext) | Executes the layer using the operations and variables from the If the layer has more than one output, output tensors are saved to variables. |
| ToString() | Returns a string that represents the |