def __call__(self, x):
x = x/255.
h = F.relu(self.conv1(x))
h = F.relu(self.conv2(h))
h = F.relu(self.conv3(h))
#h = F.max_pooling_2d(F.relu(self.bnorm4(self.conv4(h))), 2, stride=2)
h = F.relu(self.fc1(h))
y = self.fc2(h)
return y
评论列表
文章目录