Expand description
Serialization, mmap, and file I/O for TinyQuant.
This crate provides:
compressed_vector::to_bytes— encode atinyquant_core::codec::CompressedVectorto the Level-1 binary wire format.compressed_vector::from_bytes— decode from the wire format.errors::IoError— error type for all I/O operations.zero_copy::CompressedVectorView— zero-copy view of a Level-1 record.codec_file— Level-2 TQCV corpus file container.
Re-exports§
pub use compressed_vector::from_bytes;pub use compressed_vector::to_bytes;pub use zero_copy::CompressedVectorView;
Modules§
- codec_
file - Level-2 TQCV corpus file container.
- compressed_
vector CompressedVectorbinary serialization.- errors
- I/O and serialization errors for
tinyquant-io. - zero_
copy - Zero-copy views into serialized
CompressedVectordata.