Given a pair of variables inputs (3x4 matrix) and weights (3x4 matrix). The matrix on the right side (i.e. weight) must be transposed first.

Only can then we perform a matrix dot multiplication.