mirror of
https://github.com/modelscope/FunASR.git
synced 2026-10-12 02:19:18 +00:00
add SetBatchSize for model
This commit is contained in:
@@ -30,7 +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 void SetBatchSize(int batch_size) {};
|
||||
virtual int GetBatchSize() {return 0;};
|
||||
virtual Vocab* GetVocab() {return nullptr;};
|
||||
virtual Vocab* GetLmVocab() {return nullptr;};
|
||||
|
||||
Reference in New Issue
Block a user