标签 > mat1 and mat2 shapes cannot be multiplied (32x119072 and 800x300):Linear 输入维数来自卷
PyTorch 报错 mat1 and mat2 shapes cannot be multiplied (32x119072 and 800x300)卷积输出
这个报错的核心是矩阵乘法维度规则不满足,Linear 层权重 shape 是[in_features, out_features],要求输入最后一维等于 in_features;
2026-11-09 17:12:35
