提交 b3b126dc 编写于 作者: G Genieliu 提交者: Cheerego

fix reader not match (#739)

the definition name of reader and the use didn't match
上级 ef40300f
......@@ -122,7 +122,7 @@ PyReader对象通过 :code:`decorate_paddle_reader()` 或 :code:`decorate_tensor
name='py_reader1',
use_double_buffer=True)
py_reader1.decorate_paddle_reader(paddle.batch(fake_random_reader, batch_size=BATCH_SIZE))
py_reader1.decorate_paddle_reader(paddle.batch(fake_random_numpy_reader, batch_size=BATCH_SIZE))
# Case 2: Use decorate_tensor_provider() method to set the data source of py_reader
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册