Configurable low_freq high_freq, dithering (#664)
This commit is contained in:
@@ -72,6 +72,8 @@ class KeywordSpotterTransducerImpl : public KeywordSpotterImpl {
|
||||
unk_id_ = sym_["<unk>"];
|
||||
}
|
||||
|
||||
model_->SetFeatureDim(config.feat_config.feature_dim);
|
||||
|
||||
InitKeywords();
|
||||
|
||||
decoder_ = std::make_unique<TransducerKeywordDecoder>(
|
||||
@@ -89,6 +91,8 @@ class KeywordSpotterTransducerImpl : public KeywordSpotterImpl {
|
||||
unk_id_ = sym_["<unk>"];
|
||||
}
|
||||
|
||||
model_->SetFeatureDim(config.feat_config.feature_dim);
|
||||
|
||||
InitKeywords(mgr);
|
||||
|
||||
decoder_ = std::make_unique<TransducerKeywordDecoder>(
|
||||
|
||||
Reference in New Issue
Block a user