mirror of
https://github.com/mozilla/DeepSpeech.git
synced 2025-10-26 11:19:39 +00:00
parent
fdda74d498
commit
c3a2b6ea48
@ -150,6 +150,9 @@ decoder_next(const double *probs,
|
||||
for (size_t i = beam_size; i < state->prefixes.size(); ++i) {
|
||||
state->prefixes[i]->remove();
|
||||
}
|
||||
|
||||
// Remove the elements from std::vector
|
||||
state->prefixes.resize(beam_size);
|
||||
}
|
||||
|
||||
} // end of loop over time
|
||||
|
||||
Loading…
Reference in New Issue
Block a user