From e1efebb1fc834715285fb9c3ab7915ed92cb96f2 Mon Sep 17 00:00:00 2001 From: LielinJiang Date: Fri, 18 Sep 2020 03:45:34 +0000 Subject: [PATCH] fix sample code --- doc/paddle/faq/train_cn.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/paddle/faq/train_cn.md b/doc/paddle/faq/train_cn.md index 688951e67..8a334f328 100644 --- a/doc/paddle/faq/train_cn.md +++ b/doc/paddle/faq/train_cn.md @@ -288,7 +288,7 @@ with fluid.dygraph.guard(fluid.CPUPlace()): `step`表示的是经历了多少组mini_batch,其统计方法为`exe.run`(对应Program)运行的当前次数,即每运行一次`exe.run`,step加1。举例代码如下: -```python +``` # 执行下方代码后相当于step增加了N x Epoch总数 for epoch in range(epochs): # 执行下方代码后step相当于自增了N -- GitLab