Configurable low_freq high_freq, dithering (#664)
This commit is contained in:
@@ -90,6 +90,8 @@ class OnlineRecognizerTransducerImpl : public OnlineRecognizerImpl {
|
||||
unk_id_ = sym_["<unk>"];
|
||||
}
|
||||
|
||||
model_->SetFeatureDim(config.feat_config.feature_dim);
|
||||
|
||||
if (config.decoding_method == "modified_beam_search") {
|
||||
if (!config_.hotwords_file.empty()) {
|
||||
InitHotwords();
|
||||
@@ -123,6 +125,8 @@ class OnlineRecognizerTransducerImpl : public OnlineRecognizerImpl {
|
||||
unk_id_ = sym_["<unk>"];
|
||||
}
|
||||
|
||||
model_->SetFeatureDim(config.feat_config.feature_dim);
|
||||
|
||||
if (config.decoding_method == "modified_beam_search") {
|
||||
#if 0
|
||||
// TODO(fangjun): Implement it
|
||||
|
||||
Reference in New Issue
Block a user