Expand description
CPU-only vector quantization codec — core types, codec, corpus, and backend trait.
This crate is no_std (requires alloc only). It contains no I/O,
no file-system access, and no platform-specific code.
Re-exports§
pub use crate::codec::service::GpuComputeBackend;pub use crate::codec::service::GPU_BATCH_THRESHOLD;
Modules§
- backend
- Search-backend trait and associated types.
- codec
- Codec layer: deterministic
CodecConfig, canonical rotation matrix, rotation cache, codebook quantization, residual helpers, the statelessCodecservice, and thePreparedCodecsession object. - corpus
- Corpus aggregate root and related domain types.
- errors
- Error enums for the
TinyQuantcore. - gpu
- GPU acceleration trait and threshold constant.
- prelude
- Convenience re-exports for glob import (
use tinyquant_core::prelude::*). - types
- Shared primitive type aliases mirroring
tinyquant_cpu._types.