bamler-lab / constriction

Entropy coders for research and production in Python and Rust.
https://bamler-lab.github.io/constriction/
Apache License 2.0
77 stars 5 forks source link

Constrain where quantizer probes the cdf #30

Closed robamler closed 11 months ago

robamler commented 11 months ago

Ensures that LeakilyQuantizedDistribution probes the cdf only on mid-points between integers strictly between min_symbol_inclusive and max_symbol_inclusive.

Fixes #27.