Allow modify model config at decode time for ASR (#1124)
This commit is contained in:
@@ -212,6 +212,11 @@ class OfflineRecognizerCtcImpl : public OfflineRecognizerImpl {
|
||||
}
|
||||
}
|
||||
|
||||
OfflineRecognizerConfig GetConfig() const override {
|
||||
return config_;
|
||||
}
|
||||
|
||||
|
||||
private:
|
||||
// Decode a single stream.
|
||||
// Some models do not support batch size > 1, e.g., WeNet CTC models.
|
||||
|
||||
Reference in New Issue
Block a user