//! Common quantization trait shared by all quantizer types.
use crateTemperatureTier;
use Vec;
/// Trait for vector quantization codecs.
///
/// Every quantizer can encode a float vector into a compact byte representation
/// and decode it back to an approximate float vector.
///
/// The `Any` supertrait allows codecs to recover the concrete quantizer type
/// (e.g. for serializing its parameters) via trait upcasting.