/third_party/boost/boost/test/data/monomorphic/ |
D | grid.hpp | 57 explicit iterator( dataset1_iter iter1, DataSet2 const& ds2 ) in iterator() 59 , m_iter2( std::move( ds2.begin() ) ) in iterator() 60 , m_ds2( &ds2 ) in iterator() 96 grid( DataSet1&& ds1, DataSet2&& ds2 ) in grid() argument 98 , m_ds2( std::forward<DataSet2>( ds2 ) ) in grid() 145 operator*( DataSet1&& ds1, DataSet2&& ds2 ) in operator *() argument 147 return grid<DataSet1,DataSet2>( std::forward<DataSet1>( ds1 ), std::forward<DataSet2>( ds2 ) ); in operator *() 157 operator*( DataSet1&& ds1, DataSet2&& ds2 ) in operator *() argument 159 return std::forward<DataSet1>(ds1) * data::make(std::forward<DataSet2>(ds2)); in operator *() 169 operator*( DataSet1&& ds1, DataSet2&& ds2 ) in operator *() argument [all …]
|
D | zip.hpp | 79 zip( DataSet1&& ds1, DataSet2&& ds2/*, data::size_t size*/ ) in zip() argument 81 , m_ds2( std::forward<DataSet2>( ds2 ) ) in zip() 147 operator^( DataSet1&& ds1, DataSet2&& ds2 ) in operator ^() argument 150 std::forward<DataSet2>( ds2 )/*, in operator ^() 161 operator^( DataSet1&& ds1, DataSet2&& ds2 ) in operator ^() argument 163 return std::forward<DataSet1>( ds1 ) ^ data::make( std::forward<DataSet2>( ds2 ) ); in operator ^() 173 operator^( DataSet1&& ds1, DataSet2&& ds2 ) in operator ^() argument 175 return data::make( std::forward<DataSet1>( ds1 ) ) ^ std::forward<DataSet2>( ds2 ); in operator ^()
|
D | join.hpp | 82 join( DataSet1&& ds1, DataSet2&& ds2 ) in join() argument 84 , m_ds2( std::forward<DataSet2>( ds2 ) ) in join() 127 operator+( DataSet1&& ds1, DataSet2&& ds2 ) in operator +() argument 129 return join<DataSet1,DataSet2>( std::forward<DataSet1>( ds1 ), std::forward<DataSet2>( ds2 ) ); in operator +() 138 operator+( DataSet1&& ds1, DataSet2&& ds2 ) in operator +() argument 140 return std::forward<DataSet1>( ds1 ) + data::make( std::forward<DataSet2>( ds2 ) ); in operator +() 149 operator+( DataSet1&& ds1, DataSet2&& ds2 ) in operator +() argument 151 return data::make( std::forward<DataSet1>(ds1) ) + std::forward<DataSet2>( ds2 ); in operator +()
|
/third_party/mindspore/tests/ut/cpp/dataset/ |
D | c_api_dataset_minddata_test.cc | 237 …std::shared_ptr<Dataset> ds2 = MindData(file_list, {}, std::make_shared<RandomSampler>(false, 10)); in TEST_F() local 238 EXPECT_NE(ds2, nullptr); in TEST_F() 255 std::vector<std::shared_ptr<Dataset>> ds = {ds1, ds2, ds3, ds4, ds5, ds6}; in TEST_F() 423 std::shared_ptr<Dataset> ds2 = in TEST_F() local 425 EXPECT_NE(ds2, nullptr); in TEST_F() 426 ds2 = ds2->Skip(5); in TEST_F() 427 EXPECT_NE(ds2, nullptr); in TEST_F() 434 ds2 = ds2->Repeat(repeat_num); in TEST_F() 435 EXPECT_NE(ds2, nullptr); in TEST_F() 441 ds2 = ds2->Project(column_project); in TEST_F() [all …]
|
D | c_api_dataset_div2k_test.cc | 74 std::shared_ptr<Dataset> ds2 = in TEST_F() local 77 EXPECT_NE(ds2, nullptr); in TEST_F() 84 ds2 = ds2->Repeat(repeat_num); in TEST_F() 85 EXPECT_NE(ds2, nullptr); in TEST_F() 91 ds2 = ds2->Project(column_project); in TEST_F() 92 EXPECT_NE(ds2, nullptr); in TEST_F() 95 ds1 = ds1->Concat({ds2}); in TEST_F() 132 std::shared_ptr<Dataset> ds2 = in TEST_F() local 140 EXPECT_NE(ds2, nullptr); in TEST_F() 141 EXPECT_EQ(ds2->GetDatasetSize(), 3); in TEST_F() [all …]
|
D | c_api_dataset_flickr_test.cc | 67 std::shared_ptr<Dataset> ds2 = Flickr(dataset_path, file_path); in TEST_F() local 69 EXPECT_NE(ds2, nullptr); in TEST_F() 76 ds2 = ds2->Repeat(repeat_num); in TEST_F() 77 EXPECT_NE(ds2, nullptr); in TEST_F() 83 ds2 = ds2->Project(column_project); in TEST_F() 84 EXPECT_NE(ds2, nullptr); in TEST_F() 87 ds1 = ds1->Concat({ds2}); in TEST_F() 122 std::shared_ptr<Dataset> ds2 = Flickr(dataset_path, file_path2); in TEST_F() local 129 EXPECT_NE(ds2, nullptr); in TEST_F() 130 EXPECT_EQ(ds2->GetDatasetSize(), 3); in TEST_F() [all …]
|
D | c_api_dataset_manifest_test.cc | 63 std::shared_ptr<Dataset> ds2 = Manifest(file_path); in TEST_F() local 65 EXPECT_NE(ds2, nullptr); in TEST_F() 72 ds2 = ds2->Repeat(repeat_num); in TEST_F() 73 EXPECT_NE(ds2, nullptr); in TEST_F() 79 ds2 = ds2->Project(column_project); in TEST_F() 80 EXPECT_NE(ds2, nullptr); in TEST_F() 83 ds1 = ds1->Concat({ds2}); in TEST_F() 116 std::shared_ptr<Dataset> ds2 = Manifest(file_path2); in TEST_F() local 124 EXPECT_NE(ds2, nullptr); in TEST_F() 125 EXPECT_EQ(ds2->GetDatasetSize(), 4); in TEST_F() [all …]
|
D | c_api_dataset_cityscapes_test.cc | 75 std::shared_ptr<Dataset> ds2 = in TEST_F() local 78 EXPECT_NE(ds2, nullptr); in TEST_F() 85 ds2 = ds2->Repeat(repeat_num); in TEST_F() 86 EXPECT_NE(ds2, nullptr); in TEST_F() 92 ds2 = ds2->Project(column_project); in TEST_F() 93 EXPECT_NE(ds2, nullptr); in TEST_F() 96 ds1 = ds1->Concat({ds2}); in TEST_F() 133 std::shared_ptr<Dataset> ds2 = Cityscapes(dataset_path, usage, quality_mode, task); in TEST_F() local 141 EXPECT_NE(ds2, nullptr); in TEST_F() 142 EXPECT_EQ(ds2->GetDatasetSize(), 5); in TEST_F() [all …]
|
D | c_api_pull_based_test.cc | 68 std::shared_ptr<Dataset> ds2 = Album(folder_path, schema_file, column_names); in TEST_F() local 69 EXPECT_NE(ds2, nullptr); in TEST_F() 71 ds2 = ds2->Project(columns_to_project); in TEST_F() 72 EXPECT_NE(ds2, nullptr); in TEST_F() 74 auto iter2 = ds2->CreatePullBasedIterator(); in TEST_F()
|
D | c_api_dataset_sbu_test.cc | 69 std::shared_ptr<Dataset> ds2 = SBU(folder_path, true, std::make_shared<RandomSampler>(false, 5)); in TEST_F() local 71 EXPECT_NE(ds2, nullptr); in TEST_F() 78 ds2 = ds2->Repeat(repeat_num); in TEST_F() 79 EXPECT_NE(ds2, nullptr); in TEST_F() 85 ds2 = ds2->Project(column_project); in TEST_F() 86 EXPECT_NE(ds2, nullptr); in TEST_F() 89 ds1 = ds1->Concat({ds2}); in TEST_F()
|
D | c_api_dataset_album_test.cc | 68 std::shared_ptr<Dataset> ds2 = Album(folder_path, schema_file, column_names); in TEST_F() local 70 EXPECT_NE(ds2, nullptr); in TEST_F() 77 ds2 = ds2->Repeat(repeat_num); in TEST_F() 78 EXPECT_NE(ds2, nullptr); in TEST_F() 84 ds2 = ds2->Project(column_project); in TEST_F() 85 EXPECT_NE(ds2, nullptr); in TEST_F() 88 ds1 = ds1->Concat({ds2}); in TEST_F() 137 std::shared_ptr<Dataset> ds2 = Album(folder_path, schema_file, column_names, false, sampler); in TEST_F() local
|
D | c_api_dataset_ops_test.cc | 357 …std::shared_ptr<Dataset> ds2 = ImageFolder(folder_path, true, std::make_shared<RandomSampler>(fals… in TEST_F() local 361 ds2 = ds2->Rename({"image", "label"}, {"col1", "col2"}); in TEST_F() 366 ds = ds->Concat({ds2}); in TEST_F() 449 …std::shared_ptr<Dataset> ds2 = ImageFolder(folder_path, true, std::make_shared<RandomSampler>(fals… in TEST_F() local 450 EXPECT_NE(ds2, nullptr); in TEST_F() 455 ds2 = ds2->Project({"image"}); in TEST_F() 456 EXPECT_NE(ds2, nullptr); in TEST_F() 460 ds1 = ds1 + ds1 + ds2; in TEST_F() 481 …std::shared_ptr<Dataset> ds2 = Cifar10(folder_path, "all", std::make_shared<RandomSampler>(false, … in TEST_F() local 482 EXPECT_NE(ds2, nullptr); in TEST_F() [all …]
|
D | c_api_dataset_usps_test.cc | 136 std::shared_ptr<Dataset> ds2 = USPS(folder_path, "train"); in TEST_F() local 138 EXPECT_NE(ds2, nullptr); in TEST_F() 145 ds2 = ds2->Repeat(repeat_num); in TEST_F() 146 EXPECT_NE(ds2, nullptr); in TEST_F() 152 ds2 = ds2->Project(column_project); in TEST_F() 153 EXPECT_NE(ds2, nullptr); in TEST_F() 156 ds1 = ds1->Concat({ds2}); in TEST_F()
|
D | tree_modifying_function_test.cc | 53 …std::shared_ptr<Dataset> ds2 = ImageFolder(folder_path, false, std::make_shared<SequentialSampler>… in TEST_F() local 56 std::shared_ptr<Dataset> ds4 = ds3->Concat({ds2}); in TEST_F() 111 std::shared_ptr<Dataset> ds2 = ds5->Repeat(4); in TEST_F() local 112 std::shared_ptr<Dataset> ds4 = ds3->Concat({ds2}); in TEST_F() 171 std::shared_ptr<Dataset> ds2 = ds5->Repeat(4); in TEST_F() local 172 std::shared_ptr<Dataset> ds4 = ds3->Concat({ds2}); in TEST_F() 250 …std::shared_ptr<Dataset> ds2 = ImageFolder(folder_path, false, std::make_shared<SequentialSampler>… in TEST_F() local 252 std::shared_ptr<Dataset> ds4 = ds3->Concat({ds2}); in TEST_F() 275 …std::shared_ptr<Dataset> ds2 = ImageFolder(folder_path, false, std::make_shared<SequentialSampler>… in TEST_F() local 277 std::shared_ptr<Dataset> ds4 = ds3 + ds2; in TEST_F() [all …]
|
D | c_api_dataset_cifar_test.cc | 69 …std::shared_ptr<Dataset> ds2 = Cifar10(folder_path, "all", std::make_shared<RandomSampler>(false, … in TEST_F() local 71 EXPECT_NE(ds2, nullptr); in TEST_F() 78 ds2 = ds2->Repeat(repeat_num); in TEST_F() 79 EXPECT_NE(ds2, nullptr); in TEST_F() 85 ds2 = ds2->Project(column_project); in TEST_F() 86 EXPECT_NE(ds2, nullptr); in TEST_F() 89 ds1 = ds1->Concat({ds2}); in TEST_F()
|
D | c_api_dataset_coco_test.cc | 71 std::shared_ptr<Dataset> ds2 = Coco(folder_path, annotation_file); in TEST_F() local 73 EXPECT_NE(ds2, nullptr); in TEST_F() 80 ds2 = ds2->Repeat(repeat_num); in TEST_F() 81 EXPECT_NE(ds2, nullptr); in TEST_F() 87 ds2 = ds2->Project(column_project); in TEST_F() 88 EXPECT_NE(ds2, nullptr); in TEST_F() 91 ds1 = ds1->Concat({ds2}); in TEST_F() 217 std::shared_ptr<Dataset> ds2 = Coco(folder_path, annotation_file, "valid_mode"); in TEST_F() local 218 EXPECT_NE(ds2, nullptr); in TEST_F() 220 std::shared_ptr<Iterator> iter2 = ds2->CreateIterator(); in TEST_F()
|
/third_party/mindspore/tests/ut/python/dataset/ |
D | test_rgb_bgr.py | 102 ds2 = ds.TFRecordDataset(DATA_DIR, 106 ds2 = ds2.map(operations=transforms2, input_columns=["image"]) 110 ds2.create_dict_iterator(num_epochs=1)): 144 ds2 = ds.TFRecordDataset(DATA_DIR, 148 ds2 = ds2.map(operations=transforms2, input_columns=["image"]) 152 ds2.create_dict_iterator(num_epochs=1)):
|
D | test_adjustgamma.py | 200 ds2 = ds.TFRecordDataset(DATA_DIR_2, 204 ds2 = ds2.map(operations=transform2, input_columns=["image"]) 208 ds2.create_dict_iterator(num_epochs=1)): 242 ds2 = ds.TFRecordDataset(DATA_DIR_2, 246 ds2 = ds2.map(operations=transform2, input_columns=["image"]) 250 ds2.create_dict_iterator(num_epochs=1)): 285 ds2 = ds.TFRecordDataset(DATA_DIR_2, 289 ds2 = ds2.map(operations=transform2, input_columns=["image"]) 293 ds2.create_dict_iterator(num_epochs=1)):
|
D | test_cache_nomap.py | 416 …ds2 = ds.TFRecordDataset(DATA_DIR, SCHEMA_DIR, columns_list=["image"], shuffle=False, cache=some_c… 417 ds2 = ds2.shuffle(buffer_size=2) 426 for _ in ds2.create_dict_iterator(num_epochs=1): 461 ds2 = ds.TFRecordDataset(DATA_DIR, SCHEMA_DIR, columns_list=["image"], shuffle=False) 462 ds2 = ds2.map(operations=decode_op, input_columns=["image"], cache=some_cache) 463 ds2 = ds2.shuffle(buffer_size=2) 472 for _ in ds2.create_dict_iterator(num_epochs=1): 502 …ds2 = ds.TFRecordDataset(tf_files, num_shards=2, shard_id=1, num_samples=3, shuffle=False, cache=s… 503 ds2 = ds2.repeat(4) 512 for _ in ds2.create_dict_iterator(num_epochs=1): [all …]
|
D | test_paddeddataset.py | 102 ds2 = ds.PaddedDataset(data2) 103 ds3 = ds1 + ds2 123 ds2 = ds.PaddedDataset(data2) 124 ds3 = ds1 + ds2 146 ds2 = ds.PaddedDataset(data2) 147 ds3 = ds1 + ds2 194 ds2 = ds.PaddedDataset(data2) 195 ds3 = ds4 + ds2 353 ds2 = ds.PaddedDataset(data2) 354 ds3 = ds1 + ds2 [all …]
|
/third_party/boost/libs/test/test/test-organization-ts/datasets-test/ |
D | mono-grid-test.cpp | 43 auto ds2 = data::xrange(5); in BOOST_AUTO_TEST_CASE() local 45 BOOST_TEST( (ds1 * ds2).size() == 5 ); in BOOST_AUTO_TEST_CASE() 46 BOOST_TEST( (ds1 * ds2).size() == 5 ); in BOOST_AUTO_TEST_CASE() 128 auto const ds2 = data::make( copy_count() ); in BOOST_AUTO_TEST_CASE() local 135 data::for_each_sample( ds2 * ds2, check_arg_type<std::tuple<copy_count,copy_count>>() ); in BOOST_AUTO_TEST_CASE() 139 data::for_each_sample( ds1 * ds2, check_arg_type<std::tuple<copy_count,copy_count>>() ); in BOOST_AUTO_TEST_CASE() 153 …data::for_each_sample( ds1 * ds2 * ds1, check_arg_type<std::tuple<copy_count,copy_count,copy_count… in BOOST_AUTO_TEST_CASE() 157 …data::for_each_sample( ds1 * (ds1 * ds2), check_arg_type<std::tuple<copy_count,copy_count,copy_cou… in BOOST_AUTO_TEST_CASE()
|
D | mono-join-test.cpp | 96 auto const ds2 = data::make( copy_count() ); in BOOST_AUTO_TEST_CASE() local 103 data::for_each_sample( ds2 + ds2, check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE() 107 data::for_each_sample( ds1 + ds2, check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE() 120 data::for_each_sample( ds1 + ds2 + ds1, check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE() 124 data::for_each_sample( ds1 + (ds1 + ds2), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE() 128 data::for_each_sample( (ds1 + ds1) + (ds2 + ds2), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
|
D | mono-zip-test.cpp | 108 auto const ds2 = data::make( copy_count() ); in BOOST_AUTO_TEST_CASE() local 115 data::for_each_sample( ds2 ^ ds2, check_arg_type<std::tuple<copy_count,copy_count>>() ); in BOOST_AUTO_TEST_CASE() 119 data::for_each_sample( ds1 ^ ds2, check_arg_type<std::tuple<copy_count,copy_count>>() ); in BOOST_AUTO_TEST_CASE() 133 …data::for_each_sample( ds1 ^ ds2 ^ ds1, check_arg_type<std::tuple<copy_count,copy_count,copy_count… in BOOST_AUTO_TEST_CASE() 137 …data::for_each_sample( ds1 ^ (ds1 ^ ds2), check_arg_type<std::tuple<copy_count,copy_count,copy_cou… in BOOST_AUTO_TEST_CASE()
|
/third_party/boost/libs/date_time/test/gregorian/ |
D | testformatters.cpp | 27 std::string ds2 = boost::gregorian::to_simple_string(d2); in main() local 28 check("check string: "+ds2, ds2 == "2001-Dec-30"); in main()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/ |
D | shmctl01.c | 104 struct shmid_ds ds2; in check_nattch() local 107 SAFE_SHMCTL(shm_idx, SHM_STAT, &ds2); in check_nattch() 109 if (ds1.shm_nattch != ds2.shm_nattch) { in check_nattch() 111 (long)ds1.shm_nattch, (long)ds2.shm_nattch); in check_nattch()
|