首页 > TAG信息列表 > 160000

operands could not be broadcast together with shapes (160000,4) (4,4)

python日常错误: 错误1: operands could not be broadcast together with shapes (160000,4) (4,4) 操作数不能与形状(160000,4)(4,4)一起广播 错误代码:    对,你没看错,仅仅就是这一行 分析: 这里的变量a,b,c,d不是一个数,而是一群数,也就是每一个都代表着一个矩阵,之所以不能直接矩阵相乘