From e89d41636c365728be6ce0d65c3d121974473407 Mon Sep 17 00:00:00 2001 From: xsrobin <50069408+xsrobin@users.noreply.github.com> Date: Wed, 24 Jul 2019 14:49:10 +0800 Subject: [PATCH] Update executor_cn.rst (#1038) --- doc/fluid/api_cn/executor_cn.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/fluid/api_cn/executor_cn.rst b/doc/fluid/api_cn/executor_cn.rst index 63d272e6a..9ad8c8a71 100644 --- a/doc/fluid/api_cn/executor_cn.rst +++ b/doc/fluid/api_cn/executor_cn.rst @@ -217,7 +217,7 @@ infer_from_dataset的文档与train_from_dataset几乎完全相同,只是在 filelist = [] # 您可以设置您自己的filelist,如filelist = ["dataA.txt"] dataset.set_filelist(filelist) exe.run(fluid.default_startup_program()) - exe.infer_from_dataset(program=fluid.default_main_program(), + exe.train_from_dataset(program=fluid.default_main_program(), dataset=dataset) -- GitLab