MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / CompressionParams

Class CompressionParams

tensorflow/core/kernels/data/dataset_test_base.h:66–70  ·  view source on GitHub ↗

Used to specify parameters when writing data into files with compression. `input_buffer_size` and `output_buffer_size` specify the input and output buffer size when ZLIB and GZIP compression is used.

Source from the content-addressed store, hash-verified

64// `input_buffer_size` and `output_buffer_size` specify the input and output
65// buffer size when ZLIB and GZIP compression is used.
66struct CompressionParams {
67 CompressionType compression_type = CompressionType::UNCOMPRESSED;
68 int32 input_buffer_size = 0;
69 int32 output_buffer_size = 0;
70};
71
72// Writes the input data into the file without compression.
73Status WriteDataToFile(const string& filename, const char* data);

Callers 1

WriteDataToFileFunction · 0.85

Calls

no outgoing calls

Tested by 1

WriteDataToFileFunction · 0.68