Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix LogAdd #316

Merged
merged 1 commit into from
Sep 18, 2023
Merged

Fix LogAdd #316

merged 1 commit into from
Sep 18, 2023

Conversation

kamirdin
Copy link
Contributor

Using 0 as the initial value, should not perform addition when both values are 0. It will trigger a bug in the modified beam search algorithm when the language model is not loaded

Using 0 as the initial value,  should not perform addition when both values are 0
@csukuangfj
Copy link
Collaborator

Thank you for your contribution!

@csukuangfj csukuangfj merged commit 5ca0ff8 into k2-fsa:master Sep 18, 2023
XiaYucca pushed a commit to XiaYucca/sherpa-onnx that referenced this pull request Jan 9, 2025
Using 0 as the initial value,  should not perform addition when both values are 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants