Pytorch nn.Linear RuntimeError: mat1 dim 1 must match mat2 dim 0

后端 未结 0 1081
渐次进展
渐次进展 2021-02-06 14:52
class Net(nn.Module):
    def __init__(self):
        super().__init__()
        self.conv1 = nn.Conv2d(1, 16, 3, padding=1)
        self.conv2 = nn.Conv2d(16, 32, 3, pa         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题