python中矩阵乘法的维数错误这段代码是如何工作的 x=np.array([2,6]) a=np.array([[-1,0],[0,1]]); print(x.shape) print(a.shape) x.dot(a) a.do ...2024-04-25 已阅读: n次