未验证 提交 c31a506c 编写于 作者: M Mu Li 提交者: GitHub

Update lenet.md

上级 b99a7d43
......@@ -96,7 +96,7 @@ def evaluate_accuracy(data_iter, net, ctx):
```{.python .input}
# 本函数已保存在 gluonbook 包中方便以后使用。
def train_ch5(net, train_iter, test_iter, loss,
def train_ch5(net, train_iter, test_iter,
batch_size, trainer, ctx, num_epochs):
print('training on', ctx)
loss = gloss.SoftmaxCrossEntropyLoss()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册