diff --git a/doc/fluid/api_cn/io_cn/DataLoader_cn.rst b/doc/fluid/api_cn/io_cn/DataLoader_cn.rst index 28d0cdb0ad0a81b912992ed7aea864f74f009294..cb1e641bd9ac896063c5b1be40cb4fa48aaae4d4 100755 --- a/doc/fluid/api_cn/io_cn/DataLoader_cn.rst +++ b/doc/fluid/api_cn/io_cn/DataLoader_cn.rst @@ -39,7 +39,7 @@ DataLoader当前仅支持 ``map-style`` 的数据集(可通过下标索引样本 import numpy as np 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_SIZE = 16