提交 8a77e76a 编写于 作者: D DannyIsFunny

test=develop

上级 cd3eb4d5
...@@ -27,8 +27,7 @@ reader是一个Variable,它可以是由函数fluid.layers.py_reader()生成的 ...@@ -27,8 +27,7 @@ reader是一个Variable,它可以是由函数fluid.layers.py_reader()生成的
shapes=[(-1, 1, 28, 28), (-1, 1)], shapes=[(-1, 1, 28, 28), (-1, 1)],
dtypes=['float32', 'int64']) dtypes=['float32', 'int64'])
image, label = fluid.layers.read_file(reader) image, label = fluid.layers.read_file(reader)
data_file = fluid.layers.double_buffer( data_file = fluid.layers.double_buffer(reader)
fluid.layers.batch(data_file, batch_size=64))
input, label = fluid.layers.read_file(data_file) input, label = fluid.layers.read_file(data_file)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册