ValueError: operands could not be broadcast together with shapes (9,8) (8,9)
在进行矩阵计算的时候遇到的错误,为了方便理解,以3*2和2*3的矩阵为例。ValueError:operandscouldnotbebroadcasttogetherwithshapes(3,2)(2,3)importnumpyasnpa=np.array([[1,2],[3,4],[5,6]])b=np.array([[1,1,1],[2,2,2]])print(a*b)这里是想要进行矩阵乘法,