python矩阵运算报错
RuntimeError: The size of tensor a (32) must match the size of tensor b (31) at non-singleton dimension 3
应该怎么改?
运算的矩阵大小不一样,你应该看一下shape
这个shape是指图片的大小吗