Home
last modified time | relevance | path

Searched refs:shard_equal_rows (Results 1 – 14 of 14) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/source/
Dtf_record_node.h40 … int32_t num_shards, int32_t shard_id, bool shard_equal_rows, std::shared_ptr<DatasetCache> cache) in TFRecordNode() argument
49 shard_equal_rows_(shard_equal_rows) { in TFRecordNode()
61 … int32_t num_shards, int32_t shard_id, bool shard_equal_rows, std::shared_ptr<DatasetCache> cache) in TFRecordNode() argument
70 shard_equal_rows_(shard_equal_rows) {} in TFRecordNode()
Dtf_record_node.cc258 bool shard_equal_rows = json_obj["shard_equal_rows"]; in from_json() local
264 num_shards, shard_id, shard_equal_rows, cache); in from_json()
271 shard_id, shard_equal_rows, cache); in from_json()
/third_party/mindspore/tests/ut/python/dataset/
Dtest_datasets_get_dataset_size.py57 …hard_1_0 = ds.TFRecordDataset(IMAGENET_TFFILE_DIR, num_shards=1, shard_id=0, shard_equal_rows=True)
60 …hard_2_0 = ds.TFRecordDataset(IMAGENET_TFFILE_DIR, num_shards=2, shard_id=0, shard_equal_rows=True)
63 …hard_3_0 = ds.TFRecordDataset(IMAGENET_TFFILE_DIR, num_shards=3, shard_id=0, shard_equal_rows=True)
Dtest_datasets_tfrecord.py215 …ds1 = ds.TFRecordDataset(tf_files, num_shards=num_shards, shard_id=shard_id, shard_equal_rows=True)
Dtest_paddeddataset.py50 shuffle=False, shard_equal_rows=True)
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/engine/ir/datasetops/source/
Dbindings.cc297 int32_t num_shards, int32_t shard_id, bool shard_equal_rows) { in __anon9c4d722b2602() argument
300 toShuffleMode(shuffle), num_shards, shard_id, shard_equal_rows, nullptr); in __anon9c4d722b2602()
306 bool shard_equal_rows) { in __anon9c4d722b2602() argument
309 toShuffleMode(shuffle), num_shards, shard_id, shard_equal_rows, nullptr); in __anon9c4d722b2602()
/third_party/mindspore/tests/st/networks/models/bert/src/
Ddataset.py39 shard_equal_rows=True)
/third_party/mindspore/tests/st/model_zoo_tests/wide_and_deep/python_file_for_ci/
Ddatasets.py52 num_shards=rank_size, shard_id=rank_id, shard_equal_rows=True)
/third_party/mindspore/tests/st/model_zoo_tests/DeepFM/src/
Ddataset.py253 shard_equal_rows=True, num_samples=3000)
/third_party/mindspore/tests/st/networks/models/bert/bert_performance/
Dtest_bert_thor.py121 num_shards=device_num, shard_id=rank, shard_equal_rows=True)
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/
Ddatasets.h2479 … int32_t num_shards, int32_t shard_id, bool shard_equal_rows, std::shared_ptr<DatasetCache> cache);
2505 … int32_t num_shards, int32_t shard_id, bool shard_equal_rows, std::shared_ptr<DatasetCache> cache);
2538 int32_t shard_id = 0, bool shard_equal_rows = false,
2545 shard_equal_rows, cache);
2557 shard_equal_rows, cache);
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Ddatasets.cc1334 … ShuffleMode shuffle, int32_t num_shards, int32_t shard_id, bool shard_equal_rows, in TFRecordDataset() argument
1338 shard_equal_rows, cache); in TFRecordDataset()
1343 … ShuffleMode shuffle, int32_t num_shards, int32_t shard_id, bool shard_equal_rows, in TFRecordDataset() argument
1346 … num_samples, shuffle, num_shards, shard_id, shard_equal_rows, cache); in TFRecordDataset()
/third_party/mindspore/tests/ut/cpp/dataset/
Ddeserialize_test.cc403 bool shard_equal_rows = false; in TEST_F() local
414 shard_id, shard_equal_rows, cache); in TEST_F()
/third_party/mindspore/mindspore/dataset/engine/
Ddatasets.py4298 … shuffle=Shuffle.GLOBAL, num_shards=None, shard_id=None, shard_equal_rows=False, cache=None): argument
4306 self.shard_equal_rows = replace_none(shard_equal_rows, False)
4314 self.num_shards, self.shard_id, self.shard_equal_rows)