RuntimeError: The size of tensor a (22) must match the size of tensor b (32) at non-singleton dimens
成功解决RuntimeError:Thesizeoftensora(22)mustmatchthesizeoftensorb(32)atnon-singletondimension3报错原因使用print查看了x的维度和out的维度,发现out=torch.Size([10,300,22,22])x=torch.Size([10,3,32,32])为什么输入x是图片是3232大小,out就变成了2