matMul function
Multiply the matrix "a" by the matrix "b".
The inputs must be two-dimensional matrices and the inner dimension of "a" (after being transposed if transpose_a is true)
must match the outer dimension of "b" (after being transposed if transposed_b is true).
Arguments:
- a: a variable representing a matrix "a"
- b: a variable representing a matrix "b"
- tranposeA: If true, "a" is transposed before multiplication.
- tranposeB: If true, "b" is transposed before multiplication.
Returns:
- The product variable.
Implementation
VARP matMul(VARP x, VARP y, {bool transposeA = false, bool transposeB = false}) =>
VARP.fromPointer(C.mnn_expr_MatMul(x.ptr, y.ptr, transposeA, transposeB));