Skip to content

Commit

Permalink
ctc endpointing blank id
Browse files Browse the repository at this point in the history
  • Loading branch information
hzhou245 committed Feb 23, 2024
1 parent e711533 commit 1757e3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/core/decoder/params.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ std::shared_ptr<DecodeOptions> InitDecodeOptionsFromFlags() {
decode_config->ctc_prefix_search_opts.first_beam_size = FLAGS_nbest;
decode_config->ctc_prefix_search_opts.second_beam_size = FLAGS_nbest;
decode_config->ctc_prefix_search_opts.blank = FLAGS_blank_id;
decode_config->ctc_endpoint_config.blank = FLAGS_blank_id;
return decode_config;
}

Expand Down

0 comments on commit 1757e3b

Please sign in to comment.