Skip to content

Role of the parameter called tail_mass #142

Answered by jonaballe
AlbertoPresta asked this question in Q&A
Discussion options

You must be logged in to vote

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…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@AlbertoPresta
Comment options

@jonaballe
Comment options

@AlbertoPresta
Comment options

Answer selected by AlbertoPresta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants