Home
last modified time | relevance | path

Searched refs:compression_size (Results 1 – 6 of 6) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/include/
Dshard_header.h130 …void SetCompressionSize(const uint64_t &compression_size) { compression_size_ = compression_size; } in SetCompressionSize() argument
Dshard_column.h75 std::vector<uint8_t> CompressBlob(const std::vector<uint8_t> &blob, int64_t *compression_size);
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/meta/
Dshard_column.cc274 …r<uint8_t> ShardColumn::CompressBlob(const std::vector<uint8_t> &blob, int64_t *compression_size) { in CompressBlob() argument
276 *compression_size = 0; in CompressBlob()
291 *compression_size = static_cast<int64_t>(blob.size()) - static_cast<int64_t>(dst_blob.size()); in CompressBlob()
316 *compression_size = static_cast<int64_t>(blob.size()) - static_cast<int64_t>(dst_blob.size()); in CompressBlob()
Dshard_header.cc127 uint64_t compression_size = in BuildSingleHeader() local
132 {"compression_size", compression_size}, in BuildSingleHeader()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/
Dshard_reader.cc126 auto compression_size = shard_header_->GetCompressionSize(); in Init() local
127 total_blob_size_ = disk_size + compression_size; in Init()
128 …"Blob data size on disk: " << disk_size << " , additional uncompression size: " << compression_size in Init()
Dshard_writer.cc1017 uint64_t compression_size = compression_temp > 0 ? compression_temp : 0; in WriteShardHeader() local
1018 shard_header_->SetCompressionSize(compression_size); in WriteShardHeader()