|
FZGPUModules 2.0
GPU-accelerated modular compression pipelines
|
#include <huffman_stage.h>
Public Attributes | |
| double | center = -1.0 |
| double | scale = 32.0 |
| double | shape = 2.0 |
| Exponent for GeneralizedNormal only (2.0 == Gaussian, 1.0 == Laplace). | |
Parameters for a model-derived fixed codebook.
The model is evaluated over symbols [0, bklen) and produces a strictly positive frequency for every symbol, so every symbol is guaranteed to be codable. This is the important difference from a book trained on a sample of real data, where an unseen symbol gets no code at all.
| double fz::HuffmanBookSpec::center = -1.0 |
Distribution center in symbol space. Negative means "use bklen/2", which is where an unsigned quantizer with radius = bklen/2 puts the zero-error code.
| double fz::HuffmanBookSpec::scale = 32.0 |
Distribution width in symbols (sigma for Gaussian, b for Laplace, alpha for GeneralizedNormal). Ignored by Uniform.