Home
last modified time | relevance | path

Searched refs:CIFAR100_DATA_DIR (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/tests/ut/python/dataset/
Dtest_datasets_get_dataset_size.py29 CIFAR100_DATA_DIR = "../data/dataset/testCifar100Data" variable
128 train_size = ds.Cifar100Dataset(CIFAR100_DATA_DIR, usage="train").get_dataset_size()
150 ds_total = ds.Cifar100Dataset(CIFAR100_DATA_DIR)
154 test_size = ds.Cifar100Dataset(CIFAR100_DATA_DIR, usage="test").get_dataset_size()
156 all_size = ds.Cifar100Dataset(CIFAR100_DATA_DIR, usage="all").get_dataset_size()
159 ds_shard_1_0 = ds.Cifar100Dataset(CIFAR100_DATA_DIR, num_shards=1, shard_id=0)
162 ds_shard_2_0 = ds.Cifar100Dataset(CIFAR100_DATA_DIR, num_shards=2, shard_id=0)
165 ds_shard_3_0 = ds.Cifar100Dataset(CIFAR100_DATA_DIR, num_shards=3, shard_id=0)
Dtest_cache_map.py36 CIFAR100_DATA_DIR = "../data/dataset/testCifar100Data/" variable
518 ds1 = ds.Cifar100Dataset(CIFAR100_DATA_DIR, num_samples=10)
1800 ds1 = ds.Cifar100Dataset(CIFAR100_DATA_DIR, num_samples=10)