Role of the parameter called tail_mass #142
-
Hi, thanks in advance for the answer, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi Alberto, range coding can only process finite alphabets. So if you encode the bottleneck values, which can in theory include all the signed integers, you would need to cut them off somewhere. To get around this, we reserve one symbol as an "overflow" signal. So the range coding tables include probabilities for a given range of the latent distributions (around the most common values), plus an escape symbol that says "the encoded value is outside of the range". In that case, we use an Elias gamma code to send the actual value. The entropy model classes automatically determine what range of values is the most probable and assign this range to the range coding tables. Hope this helps! |
Beta Was this translation helpful? Give feedback.
Hi Alberto,
range coding can only process finite alphabets. So if you encode the bottleneck values, which can in theory include all the signed integers, you would need to cut them off somewhere. To get around this, we reserve one symbol as an "overflow" signal. So the range coding tables include probabilities for a given range of the latent distributions (around the most common values), plus an escape symbol that says "the encoded value is outside of the range". In that case, we use an Elias gamma code to send the actual value.
The entropy model classes automatically determine what range of values is the most probable and assign this range to the range coding tables.
tail_mass
is a parame…