Skip to main content

Module profile

Module profile 

Source

Structs§

FibQuantProfileV1
Stable profile for paper-faithful FibQuant codebooks and payloads.

Enums§

DirectionMethod
Direction initialization method.
EmptyCellPolicy
Empty-cell handling during Lloyd-Max refinement.
NormFormat
Norm payload representation.
RadiusMethod
Radius initialization method.
SourceMode
Source used for training samples.

Constants§

MAX_AMBIENT_DIM
Maximum ambient dimension accepted by the alpha profile validator.
MAX_BLOCK_DIM
Maximum block dimension accepted by the alpha profile validator.
MAX_CODEBOOK_SIZE
Maximum codebook size accepted by the alpha profile validator.
MAX_CODEBOOK_VALUES
Maximum number of scalar values in an N x k codebook.
MAX_PACKED_INDEX_BITS
Maximum bits in a packed fixed-rate payload.
MAX_ROTATION_MATRIX_VALUES
Maximum number of scalar values in a dense rotation matrix.
MAX_TRAINING_SAMPLES
Maximum Lloyd training samples accepted by the alpha profile validator.
PROFILE_SCHEMA

Functions§

wire_index_bits
Return the fixed wire width for one index in [0, N).