提交 0606495b 编写于 作者: D dengkaipeng

fix DataLoader code sample. test=develop

上级 fa10018b
...@@ -39,7 +39,7 @@ DataLoader当前仅支持 ``map-style`` 的数据集(可通过下标索引样本 ...@@ -39,7 +39,7 @@ DataLoader当前仅支持 ``map-style`` 的数据集(可通过下标索引样本
import numpy as np import numpy as np
import paddle.fluid as fluid import paddle.fluid as fluid
from paddle.fluid.io import Dataset, MnistDataset, BatchSampler, DataLoader from paddle.io import Dataset, BatchSampler, DataLoader
BATCH_NUM = 20 BATCH_NUM = 20
BATCH_SIZE = 16 BATCH_SIZE = 16
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册