Expand description
VectorCodec implementation for PqCodec.
Wraps the existing Product Quantization codec as a dual-phase codec.
The Quantized newtype holds a UnifiedQuantizedVector with
QuantMode::Pq and M code bytes in the packed-bits region.
The Query type carries both the precomputed per-subspace distance table
(Vec<Vec<f32>>) and the original FP32 query (for symmetric dequantization).
Structsยง
- PqQuantized
- Thin newtype wrapping
UnifiedQuantizedVectorfor PQ-encoded vectors. - PqQuery
- Prepared query for PQ asymmetric distance computation.