提交 e9211ec2 编写于 作者: Q qjing666

update api in quick_start.md

上级 1e9c66f3
......@@ -88,8 +88,9 @@ step_i = 0
while not trainer.stop():
step_i += 1
print("batch %d start train" % (step_i))
trainer.train_inner_loop(reader)
trainer.save_inference_program(output_folder)
trainer.run(feed=data, fetch=[])
if step_i % 100 == 0:
trainer.save_inference_program(output_folder)
```
On FL Server Node, a training script is defined as follows:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册