Skip to main contentModule pq
Source - EagerOpRef
- Eager operation reference for local/synchronous operations.
- PQCode
- Encoded representation from Product Quantization.
- PQCodebook
- Serializable representation of a trained PQ codebook.
Contains all state needed to reconstruct a ProductQuantizer.
- PQDistanceTable
- Precomputed distance table for Asymmetric Distance Computation (ADC).
- ProductQuantizer
- Product Quantizer for vector compression and fast distance computation.
- SDCTable
- Precomputed centroid-to-centroid distances for Symmetric Distance Computation (SDC).
- PQError
- Error type for PQ codec operations.
- FinishableError
- Trait for error types that can represent “already finished” state.
- bytes_for_nbits
- Bytes needed for NBITS (compile-time ceil(NBITS/8))
- PQCode8
- Backwards-compatible alias for common case (nbits=8)