/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/ |
D | datasets.h | 51 class DatasetCache; variable 315 const std::shared_ptr<DatasetCache> &cache = nullptr, 347 const std::shared_ptr<DatasetCache> &cache = nullptr, 380 const std::shared_ptr<DatasetCache> &cache = nullptr, 709 … const std::vector<std::vector<char>> &project_columns, const std::shared_ptr<DatasetCache> &cache, 844 const std::shared_ptr<DatasetCache> &cache); 855 const std::shared_ptr<DatasetCache> &cache); 866 … const std::reference_wrapper<Sampler> sampler, const std::shared_ptr<DatasetCache> &cache); 886 const std::shared_ptr<DatasetCache> &cache = nullptr) { 902 const std::shared_ptr<DatasetCache> &cache = nullptr) { [all …]
|
/third_party/mindspore/tests/ut/python/dataset/ |
D | test_cache_map.py | 61 some_cache = ds.DatasetCache(session_id=session_id, size=0) 95 some_cache = ds.DatasetCache(session_id=session_id, size=0) 119 some_cache = ds.DatasetCache(session_id=session_id, size=0) 159 some_cache = ds.DatasetCache(session_id=session_id, size=0) 193 some_cache = ds.DatasetCache(session_id=session_id, size=0) 229 some_cache = ds.DatasetCache(session_id=session_id, size=0) 274 some_cache = ds.DatasetCache(session_id=session_id, size=0) 315 some_cache = ds.DatasetCache(session_id=session_id, size=0) 355 some_cache = ds.DatasetCache(session_id=session_id, size=0) 395 some_cache = ds.DatasetCache(session_id=session_id, size=0) [all …]
|
D | test_cache_nomap.py | 70 some_cache = ds.DatasetCache(session_id=session_id, size=0) 104 some_cache = ds.DatasetCache(session_id=session_id, size=0) 142 some_cache = ds.DatasetCache(session_id=session_id, size=0) 191 some_cache = ds.DatasetCache(session_id=session_id, size=0) 239 some_cache = ds.DatasetCache(session_id=session_id, size=0) 278 some_cache = ds.DatasetCache(session_id=session_id, size=0) 321 some_cache = ds.DatasetCache(session_id=session_id, size=0) 352 some_cache = ds.DatasetCache(session_id=session_id, size=0) 379 some_cache = ds.DatasetCache(session_id=session_id, size=0) 412 some_cache = ds.DatasetCache(session_id=session_id, size=0, prefetch_size=32) [all …]
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/liteapi/include/ |
D | datasets.h | 48 class DatasetCache; variable 198 const std::shared_ptr<DatasetCache> &cache = nullptr, 229 const std::shared_ptr<DatasetCache> &cache = nullptr, 261 const std::shared_ptr<DatasetCache> &cache = nullptr, 423 … const std::vector<std::vector<char>> &project_columns, const std::shared_ptr<DatasetCache> &cache, 458 const std::shared_ptr<DatasetCache> &cache); 461 const std::shared_ptr<DatasetCache> &cache); 464 … const std::reference_wrapper<Sampler> sampler, const std::shared_ptr<DatasetCache> &cache); 483 const std::shared_ptr<DatasetCache> &cache = nullptr) { 499 const std::shared_ptr<DatasetCache> &cache = nullptr) { [all …]
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/ |
D | datasets.cc | 466 … const std::shared_ptr<DatasetCache> &cache, std::vector<std::shared_ptr<DSCallback>> callbacks) { in MapDataset() 840 std::shared_ptr<DatasetCache> CreateDatasetCacheCharIF(session_id_type id, uint64_t mem_sz, bool sp… in CreateDatasetCacheCharIF() 852 … const std::shared_ptr<Sampler> &sampler, const std::shared_ptr<DatasetCache> &cache) { in AlbumDataset() 861 const std::shared_ptr<DatasetCache> &cache) { in AlbumDataset() 869 … const std::reference_wrapper<Sampler> sampler, const std::shared_ptr<DatasetCache> &cache) { in AlbumDataset() 880 const std::shared_ptr<DatasetCache> &cache) { in CelebADataset() 888 const std::shared_ptr<DatasetCache> &cache) { in CelebADataset() 897 const std::shared_ptr<DatasetCache> &cache) { in CelebADataset() 905 … const std::shared_ptr<Sampler> &sampler, const std::shared_ptr<DatasetCache> &cache) { in Cifar10Dataset() 911 const Sampler *sampler, const std::shared_ptr<DatasetCache> &cache) { in Cifar10Dataset() [all …]
|
/third_party/mindspore/tests/ut/cpp/dataset/ |
D | c_api_cache_test.cc | 35 …std::shared_ptr<DatasetCache> some_cache = CreateDatasetCache(env_session, 0, false, "127.0.0.1", … in TEST_F() 55 std::shared_ptr<DatasetCache> some_cache = CreateDatasetCache(env_session, 0, false); in TEST_F() 83 std::shared_ptr<DatasetCache> some_cache = CreateDatasetCache(env_session, 0, false); in TEST_F() 124 std::shared_ptr<DatasetCache> some_cache = CreateDatasetCache(env_session, 0, false); in TEST_F() 167 std::shared_ptr<DatasetCache> some_cache = CreateDatasetCache(env_session, 0, false); in TEST_F() 208 std::shared_ptr<DatasetCache> some_cache = CreateDatasetCache(env_session, 0, false); in TEST_F() 250 std::shared_ptr<DatasetCache> some_cache = CreateDatasetCache(env_session, 0, false); in TEST_F() 291 std::shared_ptr<DatasetCache> some_cache = CreateDatasetCache(env_session, 0, false); in TEST_F() 332 std::shared_ptr<DatasetCache> some_cache = CreateDatasetCache(env_session, 0, false); in TEST_F() 373 std::shared_ptr<DatasetCache> some_cache = CreateDatasetCache(env_session, 0, false); in TEST_F() [all …]
|
D | deserialize_test.cc | 94 std::shared_ptr<DatasetCache> cache = nullptr; in TEST_F() 152 std::shared_ptr<DatasetCache> cache = nullptr; in TEST_F() 220 std::shared_ptr<DatasetCache> cache = nullptr; in TEST_F() 259 std::shared_ptr<DatasetCache> cache = nullptr; in TEST_F() 273 std::shared_ptr<DatasetCache> cache = nullptr; in TEST_F() 306 std::shared_ptr<DatasetCache> cache = nullptr; in TEST_F() 336 std::shared_ptr<DatasetCache> cache = nullptr; in TEST_F() 357 std::shared_ptr<DatasetCache> cache = nullptr; in TEST_F() 373 std::shared_ptr<DatasetCache> cache = nullptr; in TEST_F() 404 std::shared_ptr<DatasetCache> cache = nullptr; in TEST_F() [all …]
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/ |
D | dataset_node.h | 48 class DatasetCache; variable 143 explicit DatasetNode(const std::shared_ptr<DatasetCache> &dataset_cache); 262 std::shared_ptr<DatasetCache> GetDatasetCache() { return cache_; } in GetDatasetCache() 272 std::shared_ptr<DatasetNode> SetDatasetCache(const std::shared_ptr<DatasetCache> &cache); 328 std::shared_ptr<DatasetCache> cache_; 355 …explicit MappableSourceNode(const std::shared_ptr<DatasetCache> &dataset_cache) : DatasetNode(data… in MappableSourceNode() 386 …explicit NonMappableSourceNode(const std::shared_ptr<DatasetCache> &dataset_cache) : DatasetNode(d… in NonMappableSourceNode()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/cache/ |
D | dataset_cache.h | 27 class DatasetCache { 40 static Status from_json(nlohmann::json json_obj, std::shared_ptr<DatasetCache> *cache);
|
D | dataset_cache.cc | 30 Status DatasetCache::from_json(nlohmann::json json_obj, std::shared_ptr<DatasetCache> *cache) { in from_json()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/source/ |
D | cifar10_node.cc | 35 std::shared_ptr<DatasetCache> cache) in Cifar10Node() 136 std::shared_ptr<DatasetCache> cache = nullptr; in from_json() 137 RETURN_IF_NOT_OK(DatasetCache::from_json(json_obj, &cache)); in from_json()
|
D | cifar100_node.cc | 35 std::shared_ptr<SamplerObj> sampler, std::shared_ptr<DatasetCache> cache) in Cifar100Node() 135 std::shared_ptr<DatasetCache> cache = nullptr; in from_json() 136 RETURN_IF_NOT_OK(DatasetCache::from_json(json_obj, &cache)); in from_json()
|
D | mnist_node.cc | 34 std::shared_ptr<DatasetCache> cache) in MnistNode() 129 std::shared_ptr<DatasetCache> cache = nullptr; in from_json() 130 RETURN_IF_NOT_OK(DatasetCache::from_json(json_obj, &cache)); in from_json()
|
D | album_node.cc | 37 … const std::shared_ptr<SamplerObj> &sampler, const std::shared_ptr<DatasetCache> &cache) in AlbumNode() 164 std::shared_ptr<DatasetCache> cache = nullptr; in from_json() 165 RETURN_IF_NOT_OK(DatasetCache::from_json(json_obj, &cache)); in from_json()
|
D | image_folder_node.cc | 38 std::shared_ptr<DatasetCache> cache = nullptr) in ImageFolderNode() 155 std::shared_ptr<DatasetCache> cache = nullptr; in from_json() 156 RETURN_IF_NOT_OK(DatasetCache::from_json(json_obj, &cache)); in from_json()
|
D | flickr_node.cc | 35 std::shared_ptr<SamplerObj> sampler, std::shared_ptr<DatasetCache> cache) in FlickrNode() 165 std::shared_ptr<DatasetCache> cache = nullptr; in from_json() 166 RETURN_IF_NOT_OK(DatasetCache::from_json(json_obj, &cache)); in from_json()
|
D | random_node.h | 41 std::shared_ptr<DatasetCache> cache) in RandomNode() 50 std::shared_ptr<DatasetCache> cache) in RandomNode()
|
D | text_file_node.cc | 27 … int32_t num_shards, int32_t shard_id, std::shared_ptr<DatasetCache> cache) in TextFileNode() 169 std::shared_ptr<DatasetCache> cache = nullptr; in from_json() 170 RETURN_IF_NOT_OK(DatasetCache::from_json(json_obj, &cache)); in from_json()
|
D | minddata_node.h | 36 … ShuffleMode shuffle_mode = ShuffleMode::kGlobal, std::shared_ptr<DatasetCache> cache = nullptr); 41 … ShuffleMode shuffle_mode = ShuffleMode::kGlobal, std::shared_ptr<DatasetCache> cache = nullptr);
|
D | celeba_node.cc | 38 … const std::set<std::string> &extensions, const std::shared_ptr<DatasetCache> &cache) in CelebANode() 204 std::shared_ptr<DatasetCache> cache = nullptr; in from_json() 205 RETURN_IF_NOT_OK(DatasetCache::from_json(json_obj, &cache)); in from_json()
|
D | manifest_node.cc | 37 std::shared_ptr<DatasetCache> cache) in ManifestNode() 185 std::shared_ptr<DatasetCache> cache = nullptr; in from_json() 186 RETURN_IF_NOT_OK(DatasetCache::from_json(json_obj, &cache)); in from_json()
|
D | tf_record_node.h | 40 … int32_t num_shards, int32_t shard_id, bool shard_equal_rows, std::shared_ptr<DatasetCache> cache) in TFRecordNode() 61 … int32_t num_shards, int32_t shard_id, bool shard_equal_rows, std::shared_ptr<DatasetCache> cache) in TFRecordNode()
|
D | csv_node.cc | 29 int32_t num_shards, int32_t shard_id, std::shared_ptr<DatasetCache> cache) in CSVNode() 208 std::shared_ptr<DatasetCache> cache = nullptr; in from_json() 209 RETURN_IF_NOT_OK(DatasetCache::from_json(json_obj, &cache)); in from_json()
|
D | coco_node.cc | 35 …onst bool &decode, const std::shared_ptr<SamplerObj> &sampler, std::shared_ptr<DatasetCache> cache, in CocoNode() 218 std::shared_ptr<DatasetCache> cache = nullptr; in from_json() 219 RETURN_IF_NOT_OK(DatasetCache::from_json(json_obj, &cache)); in from_json()
|
D | voc_node.cc | 37 std::shared_ptr<DatasetCache> cache, bool extra_metadata) in VOCNode() 210 std::shared_ptr<DatasetCache> cache = nullptr; in from_json() 211 RETURN_IF_NOT_OK(DatasetCache::from_json(json_obj, &cache)); in from_json()
|