Home
last modified time | relevance | path

Searched refs:kMaxShardCount (Results 1 – 5 of 5) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/include/common/
Dshard_utils.h108 const int kMaxShardCount = 1000; // write variable
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/meta/
Dshard_header.cc207 CHECK_FAIL_RETURN_UNEXPECTED(shard_count_ != 0 && (shard_count_ <= kMaxShardCount), in InitByFiles()
209 "is not int range (0, " + std::to_string(kMaxShardCount) + "]."); in InitByFiles()
304 if (shard_count_ <= kMaxShardCount) { in SerializeHeader()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/common/
Dshard_pybind.cc265 (*m).attr("MAX_SHARD_COUNT") = kMaxShardCount; in BindGlobalParams()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/
Dshard_writer.cc1002 if (shard_count_ <= kMaxShardCount) { in BreakIntoShards()
1026 if (shard_count_ <= kMaxShardCount) { in WriteShardHeader()
Dshard_index_generator.cc527 CHECK_FAIL_RETURN_UNEXPECTED(shard_header_.GetShardCount() <= kMaxShardCount, in WriteToDatabase()