/third_party/mindspore/tests/ut/cpp/dataset/ |
D | c_api_datasets_test.cc | 34 std::string folder_path = datasets_root_path_ + "/testCelebAData/"; in TEST_F() local 35 …std::shared_ptr<Dataset> ds = CelebA(folder_path, "all", std::make_shared<SequentialSampler>(0, 2)… in TEST_F() 59 mindspore::MSTensor expect_image = ReadFileToTensor(folder_path + expect_file[i]); in TEST_F() 82 std::string folder_path = datasets_root_path_ + "/testCelebAData/"; in TEST_F() local 83 std::shared_ptr<Dataset> ds = CelebA(folder_path); in TEST_F() 117 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 118 std::shared_ptr<Dataset> ds = ImageFolder(folder_path, true); in TEST_F() 133 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 134 std::shared_ptr<Dataset> ds = ImageFolder(folder_path, true)->Project({"label"}); in TEST_F() 148 std::string folder_path = datasets_root_path_ + "/testCelebAData/"; in TEST_F() local [all …]
|
D | c_api_dataset_ops_test.cc | 99 std::string folder_path = datasets_root_path_ + "/testMnistData/"; in TEST_F() local 100 …std::shared_ptr<Dataset> ds = Mnist(folder_path, "all", std::make_shared<RandomSampler>(false, 10)… in TEST_F() 141 std::string folder_path = datasets_root_path_ + "/testMnistData/"; in TEST_F() local 142 …std::shared_ptr<Dataset> ds = Mnist(folder_path, "all", std::make_shared<RandomSampler>(false, 10)… in TEST_F() 177 std::string folder_path = datasets_root_path_ + "/testMnistData/"; in TEST_F() local 178 …std::shared_ptr<Dataset> ds = Mnist(folder_path, "all", std::make_shared<RandomSampler>(false, 10)… in TEST_F() 215 std::string folder_path = datasets_root_path_ + "/testMnistData/"; in TEST_F() local 216 …std::shared_ptr<Dataset> ds = Mnist(folder_path, "all", std::make_shared<RandomSampler>(false, 10)… in TEST_F() 235 std::string folder_path = datasets_root_path_ + "/testMnistData/"; in TEST_F() local 236 …std::shared_ptr<Dataset> ds = Mnist(folder_path, "all", std::make_shared<RandomSampler>(false, 10)… in TEST_F() [all …]
|
D | tree_modifying_function_test.cc | 51 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 52 …std::shared_ptr<Dataset> ds1 = ImageFolder(folder_path, false, std::make_shared<SequentialSampler>… in TEST_F() 53 …std::shared_ptr<Dataset> ds2 = ImageFolder(folder_path, false, std::make_shared<SequentialSampler>… in TEST_F() 54 …std::shared_ptr<Dataset> ds6 = ImageFolder(folder_path, false, std::make_shared<SequentialSampler>… in TEST_F() 107 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 108 …std::shared_ptr<Dataset> ds1 = ImageFolder(folder_path, false, std::make_shared<SequentialSampler>… in TEST_F() 110 …std::shared_ptr<Dataset> ds5 = ImageFolder(folder_path, false, std::make_shared<SequentialSampler>… in TEST_F() 122 …std::shared_ptr<Dataset> ds6 = ImageFolder(folder_path, false, std::make_shared<SequentialSampler>… in TEST_F() 135 ds6 = ImageFolder(folder_path, false, std::make_shared<SequentialSampler>(0, 11)); in TEST_F() 148 ds6 = ImageFolder(folder_path, false, std::make_shared<SequentialSampler>(0, 11)); in TEST_F() [all …]
|
D | c_api_dataset_voc_test.cc | 33 std::string folder_path = datasets_root_path_ + "/testVOC2012_2"; in TEST_F() local 39 …std::shared_ptr<Dataset> ds = VOC(folder_path, "Detection", "train", class_index, false, std::make… in TEST_F() 81 std::string folder_path = datasets_root_path_ + "/testVOC2012_2"; in TEST_F() local 87 …std::shared_ptr<Dataset> ds = VOC(folder_path, "Detection", "train", class_index, false, std::make… in TEST_F() 104 std::string folder_path = datasets_root_path_ + "/testVOC2012_2"; in TEST_F() local 110 …std::shared_ptr<Dataset> ds = VOC(folder_path, "Detection", "train", class_index, false, std::make… in TEST_F() 125 std::string folder_path = datasets_root_path_ + "/testVOC2012_2"; in TEST_F() local 126 …std::shared_ptr<Dataset> ds = VOC(folder_path, "Detection", "train", {}, false, std::make_shared<S… in TEST_F() 152 …mindspore::MSTensor expect_image = ReadFileToTensor(folder_path + "/JPEGImages/" + expect_file[i] … in TEST_F() 173 std::string folder_path = datasets_root_path_ + "/testVOC2012_2"; in TEST_F() local [all …]
|
D | c_api_samplers_test.cc | 54 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 55 std::shared_ptr<Dataset> ds = ImageFolder(folder_path, false, sampl); in TEST_F() 96 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 97 std::shared_ptr<Dataset> ds = ImageFolder(folder_path, false); in TEST_F() 126 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 127 std::shared_ptr<Dataset> ds = ImageFolder(folder_path, false, sampler); in TEST_F() 157 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 158 std::shared_ptr<Dataset> ds = ImageFolder(folder_path, false, sampler); in TEST_F() 189 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 190 std::shared_ptr<Dataset> ds = ImageFolder(folder_path, false, sampler); in TEST_F() [all …]
|
D | c_api_dataset_cifar_test.cc | 33 std::string folder_path = datasets_root_path_ + "/testCifar10Data/"; in TEST_F() local 34 …std::shared_ptr<Dataset> ds = Cifar10(folder_path, "all", std::make_shared<RandomSampler>(false, 1… in TEST_F() 67 std::string folder_path = datasets_root_path_ + "/testCifar10Data/"; in TEST_F() local 68 …std::shared_ptr<Dataset> ds1 = Cifar10(folder_path, "all", std::make_shared<RandomSampler>(false, … in TEST_F() 69 …std::shared_ptr<Dataset> ds2 = Cifar10(folder_path, "all", std::make_shared<RandomSampler>(false, … in TEST_F() 122 std::string folder_path = datasets_root_path_ + "/testCifar10Data/"; in TEST_F() local 123 std::shared_ptr<Dataset> ds = Cifar10(folder_path, "all"); in TEST_F() 133 std::string folder_path = datasets_root_path_ + "/testCifar10Data/"; in TEST_F() local 134 std::shared_ptr<Dataset> ds = Cifar10(folder_path, "all"); in TEST_F() 171 std::string folder_path = datasets_root_path_ + "/testCifar100Data/"; in TEST_F() local [all …]
|
D | c_api_dataset_album_test.cc | 29 std::string folder_path = datasets_root_path_ + "/testAlbum/images"; in TEST_F() local 33 std::shared_ptr<Dataset> ds = Album(folder_path, schema_file, column_names); in TEST_F() 62 std::string folder_path = datasets_root_path_ + "/testAlbum/images"; in TEST_F() local 67 std::shared_ptr<Dataset> ds1 = Album(folder_path, schema_file, column_names); in TEST_F() 68 std::shared_ptr<Dataset> ds2 = Album(folder_path, schema_file, column_names); in TEST_F() 117 std::string folder_path = datasets_root_path_ + "/testAlbum/images"; in TEST_F() local 121 std::shared_ptr<Dataset> ds = Album(folder_path, schema_file, column_names); in TEST_F() 137 std::shared_ptr<Dataset> ds2 = Album(folder_path, schema_file, column_names, false, sampler); in TEST_F() 144 std::string folder_path = datasets_root_path_ + "/testAlbum/images"; in TEST_F() local 148 std::shared_ptr<Dataset> ds = Album(folder_path, schema_file, column_names, true); in TEST_F() [all …]
|
D | c_api_vision_bounding_box_augment_test.cc | 32 std::string folder_path = datasets_root_path_ + "/testVOC2012_2"; in TEST_F() local 34 VOC(folder_path, "Detection", "train", {}, true, std::make_shared<SequentialSampler>(0, 3)); in TEST_F() 71 std::string folder_path = datasets_root_path_ + "/testVOC2012_2"; in TEST_F() local 73 VOC(folder_path, "Detection", "train", {}, true, std::make_shared<SequentialSampler>(0, 3)); in TEST_F() 115 std::string folder_path = datasets_root_path_ + "/testVOC2012_2"; in TEST_F() local 117 VOC(folder_path, "Detection", "train", {}, true, std::make_shared<SequentialSampler>(0, 3)); in TEST_F() 155 std::string folder_path = datasets_root_path_ + "/testVOC2012_2"; in TEST_F() local 157 VOC(folder_path, "Detection", "train", {}, true, std::make_shared<SequentialSampler>(0, 3)); in TEST_F() 180 std::string folder_path = datasets_root_path_ + "/testVOC2012_2"; in TEST_F() local 182 VOC(folder_path, "Detection", "train", {}, true, std::make_shared<SequentialSampler>(0, 3)); in TEST_F() [all …]
|
D | c_api_vision_a_to_q_test.cc | 33 std::string folder_path = MindDataPath + "/testImageNetData/train/"; in TEST_F() local 34 …std::shared_ptr<Dataset> ds1 = ImageFolder(folder_path, true, std::make_shared<RandomSampler>(fals… in TEST_F() 36 …std::shared_ptr<Dataset> ds2 = ImageFolder(folder_path, true, std::make_shared<RandomSampler>(fals… in TEST_F() 70 std::string folder_path = MindDataPath + "/testImageNetData/train/"; in TEST_F() local 71 …std::shared_ptr<Dataset> ds1 = ImageFolder(folder_path, true, std::make_shared<RandomSampler>(fals… in TEST_F() 73 …std::shared_ptr<Dataset> ds2 = ImageFolder(folder_path, true, std::make_shared<RandomSampler>(fals… in TEST_F() 108 std::string folder_path = MindDataPath + "/testImageNetData/train/"; in TEST_F() local 109 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, true, std::make_shared<RandomSampler>(false… in TEST_F() 127 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 128 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, true, std::make_shared<RandomSampler>(false… in TEST_F() [all …]
|
D | c_api_vision_random_test.cc | 34 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 35 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, true, std::make_shared<RandomSampler>(false… in TEST_F() 73 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 74 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, true, std::make_shared<RandomSampler>(false… in TEST_F() 122 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 123 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, true, std::make_shared<RandomSampler>(false… in TEST_F() 170 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 171 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, true, std::make_shared<RandomSampler>(false… in TEST_F() 222 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 223 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, true, std::make_shared<RandomSampler>(false… in TEST_F() [all …]
|
D | c_api_vision_uniform_aug_test.cc | 34 std::string folder_path = datasets_root_path_ + "/testMnistData/"; in TEST_F() local 35 …std::shared_ptr<Dataset> ds = Mnist(folder_path, "all", std::make_shared<RandomSampler>(false, 20)… in TEST_F() 81 std::string folder_path = datasets_root_path_ + "/testMnistData/"; in TEST_F() local 82 …std::shared_ptr<Dataset> ds = Mnist(folder_path, "all", std::make_shared<RandomSampler>(false, 20)… in TEST_F() 135 std::string folder_path = datasets_root_path_ + "/testMnistData/"; in TEST_F() local 136 …std::shared_ptr<Dataset> ds = Mnist(folder_path, "all", std::make_shared<RandomSampler>(false, 20)… in TEST_F() 182 std::string folder_path = datasets_root_path_ + "/testMnistData/"; in TEST_F() local 183 …std::shared_ptr<Dataset> ds = Mnist(folder_path, "all", std::make_shared<RandomSampler>(false, 20)… in TEST_F() 207 std::string folder_path = datasets_root_path_ + "/testMnistData/"; in TEST_F() local 208 …std::shared_ptr<Dataset> ds = Mnist(folder_path, "all", std::make_shared<RandomSampler>(false, 20)… in TEST_F() [all …]
|
D | c_api_dataset_coco_test.cc | 31 std::string folder_path = datasets_root_path_ + "/testCOCO/train"; in TEST_F() local 34 std::shared_ptr<Dataset> ds = Coco(folder_path, annotation_file); in TEST_F() 67 std::string folder_path = datasets_root_path_ + "/testCOCO/train"; in TEST_F() local 70 std::shared_ptr<Dataset> ds1 = Coco(folder_path, annotation_file); in TEST_F() 71 std::shared_ptr<Dataset> ds2 = Coco(folder_path, annotation_file); in TEST_F() 124 std::string folder_path = datasets_root_path_ + "/testCOCO/train"; in TEST_F() local 127 std::shared_ptr<Dataset> ds = Coco(folder_path, annotation_file); in TEST_F() 138 std::string folder_path = datasets_root_path_ + "/testCOCO/train"; in TEST_F() local 142 … Coco(folder_path, annotation_file, "Detection", false, std::make_shared<SequentialSampler>(0, 6)); in TEST_F() 169 … mindspore::MSTensor expect_image = ReadFileToTensor(folder_path + "/" + expect_file[i] + ".jpg"); in TEST_F() [all …]
|
D | c_api_dataset_usps_test.cc | 32 std::string folder_path = datasets_root_path_ + "/testUSPSDataset/"; in TEST_F() local 33 std::shared_ptr<Dataset> ds = USPS(folder_path, "train"); in TEST_F() 66 std::string folder_path = datasets_root_path_ + "/testUSPSDataset/"; in TEST_F() local 67 std::shared_ptr<Dataset> ds = USPS(folder_path, "test"); in TEST_F() 100 std::string folder_path = datasets_root_path_ + "/testUSPSDataset/"; in TEST_F() local 101 std::shared_ptr<Dataset> ds = USPS(folder_path, "all"); in TEST_F() 134 std::string folder_path = datasets_root_path_ + "/testUSPSDataset/"; in TEST_F() local 135 std::shared_ptr<Dataset> ds1 = USPS(folder_path, "train"); in TEST_F() 136 std::shared_ptr<Dataset> ds2 = USPS(folder_path, "train"); in TEST_F() 189 std::string folder_path = datasets_root_path_ + "/testUSPSDataset/"; in TEST_F() local [all …]
|
D | c_api_vision_r_to_z_test.cc | 32 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 33 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, true, std::make_shared<SequentialSampler>(0… in TEST_F() 78 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 79 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, true, std::make_shared<RandomSampler>(false… in TEST_F() 115 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 116 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, true, std::make_shared<RandomSampler>(false… in TEST_F() 163 std::string folder_path = datasets_root_path_ + "/testVOC2012_2"; in TEST_F() local 165 VOC(folder_path, "Detection", "train", {}, true, std::make_shared<SequentialSampler>(0, 3)); in TEST_F() 202 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 203 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, true, std::make_shared<SequentialSampler>(0… in TEST_F() [all …]
|
D | image_folder_op_test.cc | 80 std::string folder_path = datasets_root_path_ + "/testPK/data"; in TEST_F() local 81 auto op1 = ImageFolder(16, 2, 32, folder_path, false); in TEST_F() 111 std::string folder_path = datasets_root_path_ + "/testPK/data"; in TEST_F() local 112 auto tree = Build({ImageFolder(16, 2, 32, folder_path, true, nullptr)}); in TEST_F() 141 std::string folder_path = datasets_root_path_ + "/testPK/data"; in TEST_F() local 142 auto tree = Build({ImageFolder(16, 2, 32, folder_path, false, std::move(sampler))}); in TEST_F() 168 std::string folder_path = datasets_root_path_ + "/testPK/data"; in TEST_F() local 169 auto op1 = ImageFolder(16, 2, 32, folder_path, false); in TEST_F() 208 std::string folder_path = datasets_root_path_ + "/testPK/data"; in TEST_F() local 211 auto tree = Build({ImageFolder(16, 2, 32, folder_path, false, std::move(sampler))}); in TEST_F() [all …]
|
D | c_api_dataset_sbu_test.cc | 33 std::string folder_path = datasets_root_path_ + "/testSBUDataset/"; in TEST_F() local 34 std::shared_ptr<Dataset> ds = SBU(folder_path, true, std::make_shared<RandomSampler>(false, 5)); in TEST_F() 67 std::string folder_path = datasets_root_path_ + "/testSBUDataset/"; in TEST_F() local 68 std::shared_ptr<Dataset> ds1 = SBU(folder_path, true, std::make_shared<RandomSampler>(false, 5)); in TEST_F() 69 std::shared_ptr<Dataset> ds2 = SBU(folder_path, true, std::make_shared<RandomSampler>(false, 5)); in TEST_F() 122 std::string folder_path = datasets_root_path_ + "/testSBUDataset/"; in TEST_F() local 123 std::shared_ptr<Dataset> ds = SBU(folder_path, true); in TEST_F() 133 std::string folder_path = datasets_root_path_ + "/testSBUDataset/"; in TEST_F() local 134 std::shared_ptr<Dataset> ds = SBU(folder_path, true); in TEST_F() 180 std::string folder_path = datasets_root_path_ + "/testSBUDataset/"; in TEST_F() local [all …]
|
D | c_api_vision_random_subselect_policy_test.cc | 33 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 34 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, true, std::make_shared<RandomSampler>(false… in TEST_F() 84 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 85 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, true, std::make_shared<RandomSampler>(false… in TEST_F() 143 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 144 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, true, std::make_shared<RandomSampler>(false… in TEST_F() 194 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 195 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, true, std::make_shared<RandomSampler>(false… in TEST_F() 246 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 247 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, true, std::make_shared<RandomSampler>(false… in TEST_F() [all …]
|
D | c_api_vision_soft_dvpp_test.cc | 34 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 35 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, false, std::make_shared<RandomSampler>(fals… in TEST_F() 76 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 77 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, false, std::make_shared<RandomSampler>(fals… in TEST_F() 116 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 117 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, false, std::make_shared<RandomSampler>(fals… in TEST_F() 159 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 160 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, false, std::make_shared<RandomSampler>(fals… in TEST_F()
|
D | c_api_dataset_iterator_test.cc | 28 std::string folder_path = datasets_root_path_ + "/testCifar10Data/"; in TEST_F() local 29 …std::shared_ptr<Dataset> ds = Cifar10(folder_path, "all", std::make_shared<RandomSampler>(false, 5… in TEST_F() 65 std::string folder_path = datasets_root_path_ + "/testMnistData/"; in TEST_F() local 66 …std::shared_ptr<Dataset> ds = Mnist(folder_path, "all", std::make_shared<RandomSampler>(false, 4)); in TEST_F() 104 std::string folder_path = datasets_root_path_ + "/testCifar10Data/"; in TEST_F() local 105 …std::shared_ptr<Dataset> ds = Cifar10(folder_path, "all", std::make_shared<SequentialSampler>(fals… in TEST_F() 143 std::string folder_path = datasets_root_path_ + "/testVOC2012_2"; in TEST_F() local 145 VOC(folder_path, "Detection", "train", {}, false, std::make_shared<SequentialSampler>(0, 4)); in TEST_F() 186 std::string folder_path = datasets_root_path_ + "/testMnistData/"; in TEST_F() local 187 …std::shared_ptr<Dataset> ds = Mnist(folder_path, "all", std::make_shared<RandomSampler>(false, 4)); in TEST_F()
|
D | c_api_cache_test.cc | 39 std::string folder_path = datasets_root_path_ + "/testImageNetData/train/"; in TEST_F() local 40 std::shared_ptr<Dataset> ds = ImageFolder(folder_path, false, nullptr, {}, {}, some_cache); in TEST_F() 59 std::string folder_path = datasets_root_path_ + "/testImageNetData/train/"; in TEST_F() local 60 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, false, std::make_shared<RandomSampler>(), {… in TEST_F() 87 std::string folder_path = datasets_root_path_ + "/testImageNetData/train/"; in TEST_F() local 88 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, false, std::make_shared<RandomSampler>(), {… in TEST_F() 128 std::string folder_path = datasets_root_path_ + "/testCOCO/train/"; in TEST_F() local 131 …Coco(folder_path, annotation_file_path, "Detection", false, std::make_shared<RandomSampler>(), som… in TEST_F() 171 std::string folder_path = datasets_root_path_ + "/testMnistData/"; in TEST_F() local 172 …std::shared_ptr<Dataset> ds = Mnist(folder_path, "all", std::make_shared<RandomSampler>(false, 10)… in TEST_F() [all …]
|
D | album_op_test.cc | 68 std::string folder_path = datasets_root_path_ + "/testAlbum/images"; in TEST_F() local 71 auto op1 = AlbumSchema(16, 32, folder_path, schema_file, column_names, false); in TEST_F() 95 std::string folder_path = datasets_root_path_ + "/testAlbum/images"; in TEST_F() local 97 auto op1 = AlbumSchema(16, 32, folder_path, schema_file); in TEST_F() 121 std::string folder_path = datasets_root_path_ + "/testAlbum/images"; in TEST_F() local 124 auto op1 = AlbumSchema(16, 32, folder_path, schema_file); in TEST_F() 150 std::string folder_path = datasets_root_path_ + "/testAlbum/images"; in TEST_F() local 153 auto op1 = AlbumSchema(16, 32, folder_path, schema_file); in TEST_F()
|
D | c_api_pull_based_test.cc | 30 std::string folder_path = datasets_root_path_ + "/testAlbum/images"; in TEST_F() local 34 std::shared_ptr<Dataset> ds = Album(folder_path, schema_file, column_names); in TEST_F() 55 std::string folder_path = datasets_root_path_ + "/testAlbum/images"; in TEST_F() local 59 std::shared_ptr<Dataset> ds = Album(folder_path, schema_file, column_names); in TEST_F() 68 std::shared_ptr<Dataset> ds2 = Album(folder_path, schema_file, column_names); in TEST_F()
|
D | c_api_epoch_ctrl_test.cc | 36 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 37 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, true, std::make_shared<SequentialSampler>(0… in TEST_F() 83 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 84 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, true, std::make_shared<RandomSampler>(0, sa… in TEST_F() 131 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 132 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, true, std::make_shared<RandomSampler>(0, sa… in TEST_F() 180 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 181 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, true, std::make_shared<SequentialSampler>(5… in TEST_F()
|
D | ir_tree_adapter_test.cc | 46 std::string folder_path = datasets_root_path_ + "/testMnistData/"; in TEST_F() local 47 …std::shared_ptr<Dataset> ds = Mnist(folder_path, "all", std::make_shared<SequentialSampler>(0, 4)); in TEST_F() 81 std::string folder_path = datasets_root_path_ + "/testMnistData/"; in TEST_F() local 82 …std::shared_ptr<Dataset> ds = Mnist(folder_path, "all", std::make_shared<SequentialSampler>(0, 3)); in TEST_F() 113 std::string folder_path = datasets_root_path_ + "/testPK/data/"; in TEST_F() local 114 …std::shared_ptr<Dataset> ds = ImageFolder(folder_path, true, std::make_shared<SequentialSampler>(0… in TEST_F()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/source/ |
D | celeba_node.cc | 98 Path folder_path(dataset_dir_); in GetDatasetSize() local 100 auto realpath = FileUtils::GetRealPath((folder_path / "list_attr_celeba.txt").ToString().data()); in GetDatasetSize() 102 …MS_LOG(ERROR) << "Get real path failed, path=" << (folder_path / "list_attr_celeba.txt").ToString(… in GetDatasetSize() 103 …RETURN_STATUS_UNEXPECTED("Get real path failed, path=" + (folder_path / "list_attr_celeba.txt").To… in GetDatasetSize() 108 std::string attr_file_name = (folder_path / "list_attr_celeba.txt").ToString(); in GetDatasetSize() 139 …auto realpath_eval = FileUtils::GetRealPath((folder_path / "list_eval_partition.txt").ToString().d… in GetDatasetSize() 141 …MS_LOG(ERROR) << "Get real path failed, path=" << (folder_path / "list_eval_partition.txt").ToStri… in GetDatasetSize() 142 …RETURN_STATUS_UNEXPECTED("Get real path failed, path=" + (folder_path / "list_eval_partition.txt")… in GetDatasetSize()
|