From ba0e84013557dd178a54c383629416759c77c3dd Mon Sep 17 00:00:00 2001 From: xsrobin <50069408+xsrobin@users.noreply.github.com> Date: Wed, 24 Jul 2019 14:42:45 +0800 Subject: [PATCH] Update executor_cn.rst (#1037) --- 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