Skip to main content

Crate tinyquant_core

Crate tinyquant_core 

Source
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.

Modulesยง

backend
Search-backend trait and associated types.
codec
Codec layer: deterministic CodecConfig, canonical rotation matrix, rotation cache, codebook quantization, residual helpers, and the stateless Codec service.
corpus
Corpus aggregate root and related domain types.
errors
Error enums for the TinyQuant core.
prelude
Convenience re-exports for glob import (use tinyquant_core::prelude::*).
types
Shared primitive type aliases mirroring tinyquant_cpu._types.