mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
add SetBatchSize for model
This commit is contained in:
parent
cc10d01fd7
commit
3ac539a58c
@ -30,6 +30,7 @@ class Model {
|
||||
virtual std::vector<std::vector<float>> CompileHotwordEmbedding(std::string &hotwords){return std::vector<std::vector<float>>();};
|
||||
virtual std::string GetLang(){return "";};
|
||||
virtual int GetAsrSampleRate() = 0;
|
||||
virtual void SetBatchSize() {};
|
||||
virtual int GetBatchSize() {return 0;};
|
||||
virtual Vocab* GetVocab() {return nullptr;};
|
||||
virtual Vocab* GetLmVocab() {return nullptr;};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user