forked from huawei/mindspore2022
38 lines
1.7 KiB
Python
38 lines
1.7 KiB
Python
# Copyright 2019 Huawei Technologies Co., Ltd
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
# ==============================================================================
|
|
|
|
"""
|
|
Introduction to dataset/engine:
|
|
|
|
dataset/engine supports various formats of datasets, including ImageNet, TFData,
|
|
MNIST, Cifar10/100, Manifest, MindRecord, etc. This module could load data in
|
|
high performance and parse data precisely. It also provides the following
|
|
operations for users to preprocess data: shuffle, batch, repeat, map, and zip.
|
|
"""
|
|
|
|
from .datasets import *
|
|
from .iterators import *
|
|
from .serializer_deserializer import serialize, deserialize, show, compare
|
|
from .samplers import *
|
|
from ..core.configuration import config, ConfigurationManager
|
|
|
|
|
|
__all__ = ["config", "ConfigurationManager", "zip", "StorageDataset",
|
|
"ImageFolderDatasetV2", "MnistDataset",
|
|
"MindDataset", "GeneratorDataset", "TFRecordDataset",
|
|
"ManifestDataset", "Cifar10Dataset", "Cifar100Dataset", "CelebADataset",
|
|
"VOCDataset", "TextFileDataset", "Schema", "DistributedSampler", "PKSampler",
|
|
"RandomSampler", "SequentialSampler", "SubsetRandomSampler", "WeightedRandomSampler"]
|