From 8a77e76a11e4257212d2d9f3ad3ff78e4fc78336 Mon Sep 17 00:00:00 2001 From: DannyIsFunny <912790387@qq.com> Date: Mon, 29 Jun 2020 15:11:57 +0000 Subject: [PATCH] test=develop --- doc/fluid/api_cn/layers_cn/read_file_cn.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/fluid/api_cn/layers_cn/read_file_cn.rst b/doc/fluid/api_cn/layers_cn/read_file_cn.rst index 688a52d35..c84f1d97c 100644 --- a/doc/fluid/api_cn/layers_cn/read_file_cn.rst +++ b/doc/fluid/api_cn/layers_cn/read_file_cn.rst @@ -27,8 +27,7 @@ reader是一个Variable,它可以是由函数fluid.layers.py_reader()生成的 shapes=[(-1, 1, 28, 28), (-1, 1)], dtypes=['float32', 'int64']) image, label = fluid.layers.read_file(reader) - data_file = fluid.layers.double_buffer( - fluid.layers.batch(data_file, batch_size=64)) + data_file = fluid.layers.double_buffer(reader) input, label = fluid.layers.read_file(data_file) -- GitLab