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 688a52d359c9553ce3d448ea7315980625f4d642..c84f1d97c23dd1825ae250a6001bb6ab20727391 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)