Home
last modified time | relevance | path

Searched refs:CIFAR10_DATA_DIR (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/tests/ut/python/dataset/
Dtest_datasets_get_dataset_size.py28 CIFAR10_DATA_DIR = "../data/dataset/testCifar10Data" variable
124 ds_total = ds.Cifar10Dataset(CIFAR10_DATA_DIR)
130 train_size = ds.Cifar10Dataset(CIFAR10_DATA_DIR, usage="train").get_dataset_size()
133 all_size = ds.Cifar10Dataset(CIFAR10_DATA_DIR, usage="all").get_dataset_size()
136 ds_shard_1_0 = ds.Cifar10Dataset(CIFAR10_DATA_DIR, num_shards=1, shard_id=0)
139 ds_shard_2_0 = ds.Cifar10Dataset(CIFAR10_DATA_DIR, num_shards=2, shard_id=0)
142 ds_shard_3_0 = ds.Cifar10Dataset(CIFAR10_DATA_DIR, num_shards=3, shard_id=0)
145 ds_shard_7_0 = ds.Cifar10Dataset(CIFAR10_DATA_DIR, num_shards=7, shard_id=0)
Dtest_sampler_chain.py30 CIFAR10_DATA_DIR = "../data/dataset/testCifar10Data" variable
238 data1 = ds.Cifar10Dataset(CIFAR10_DATA_DIR, sampler=sampler)
Dtest_cache_map.py35 CIFAR10_DATA_DIR = "../data/dataset/testCifar10Data/" variable
479 ds1 = ds.Cifar10Dataset(CIFAR10_DATA_DIR, num_samples=10)
1766 ds1 = ds.Cifar10Dataset(CIFAR10_DATA_DIR, num_samples=10, cache=some_cache)
1835 ds1 = ds.Cifar10Dataset(CIFAR10_DATA_DIR, cache=some_cache)
1868 ds1 = ds.Cifar10Dataset(CIFAR10_DATA_DIR, num_samples=10, cache=some_cache)
2202 ds1 = ds.Cifar10Dataset(CIFAR10_DATA_DIR, cache=some_cache)