用numpy模块,参考:https://jingyan.baidu.com/article/6c67b1d65cf36e2787bb1ea7.html
这个matmul是数学计算的,multiply也是矩阵乘积,但是这个要求横列相同。