Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly emit log probabilties for ctc beam search
This is not correctly documented in tensorflow. See tensorflow/tensorflow#6929
- Loading branch information
36f40f9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
I was just looking at the linked issue and it's clear from the code that un-normalized log-probabilities (logits) are fine. So this change was probably unnecessary.
But that /log(10) is a little funny, you can add an offset to logits without changing the underlying probabilities, but multiplying by a factor like that will change them.