提交 54c5ce9e 编写于 作者: Z ztjryg4 提交者: Xinran Xu

docs: improve spelling

Amend 'classifer' to 'classifier' in line 177 and 187.
上级 cf8d209c
......@@ -174,7 +174,7 @@
self.fc2 = M.Linear(120, 84)
self.relu4 = M.ReLU()
# 分类器
self.classifer = M.Linear(84, 10)
self.classifier = M.Linear(84, 10)
def forward(self, x):
x = self.pool1(self.relu1(self.conv1(x)))
......@@ -184,7 +184,7 @@
x = F.flatten(x, 1)
x = self.relu3(self.fc1(x))
x = self.relu4(self.fc2(x))
x = self.classifer(x)
x = self.classifier(x)
return x
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册