A matrix multiplication kernel.
- iOS 10.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 10.0+
- Metal Performance Shaders
MPSMatrix object computes the following operation:
C = alpha * op(A) * op(B) + beta * C
Where A, B, and C are matrices represented by
MPSMatrix objects, and alpha and beta are scalar values of the same data type as the values of C. A and B may each have an optional transposition operation applied.
Matrices A, B, and C are also referred to as the left input matrix, the right input matrix, and the result matrix respectively.