pytorch实现神经网络常见model(LeNet,GoogLeNet,AlexNet,VggNet)
神经网络常见model的实现lenet输入大小为32x32classLenetNet(nn.Module):def__init__(self):super(LenetNet,self).__init__()self.conv1=nn.Conv2d(3,6,5)self.conv2=nn.Conv2d(6,16,5)self.fc1=nn.Linear(16*5*5,120)self.fc2=nn.