PyTorch 报错 mat1 and mat2 shapes cannot be multiplied (32x119072 and 800x300)卷积输出

这个报错的核心是矩阵乘法维度规则不满足,Linear 层权重 shape 是[in_features, out_features],要求输入最后一维等于 in_features;