Introduction - 2024.2 English - UG1642

AI Engine System Software Driver Reference Manual (UG1642)

Document ID
UG1642
Release Date
2024-11-13
Version
2024.2 English

Consider two matrices: A and B. The product of the two (A × B) is a linear combination of the columns of A by matrix B. This means that the elements in a row (i) of A are multiplied with the elements in a column of B (j) and are summed up to give the corresponding single element in the matrix A × B at i, j. This means that if A is an n × m matrix and B is an m × p matrix, the corresponding product A × B would have dimensions n × p. The number of columns of A equals the number of rows in B to make the matrix multiplication possible.