From 930fe72f43524b4e355ef671c7180cc6cf9eefb5 Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期一, 01 四月 2024 15:27:20 +0800
Subject: [PATCH] set batch default value
---
runtime/onnxruntime/src/paraformer-torch.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/runtime/onnxruntime/src/paraformer-torch.h b/runtime/onnxruntime/src/paraformer-torch.h
index 60f1582..e49094d 100644
--- a/runtime/onnxruntime/src/paraformer-torch.h
+++ b/runtime/onnxruntime/src/paraformer-torch.h
@@ -55,7 +55,7 @@
string Rescoring();
string GetLang(){return language;};
int GetAsrSampleRate() { return asr_sample_rate; };
- void SetBatchSize(int batch_size) {batch_size_ = batch_size};
+ void SetBatchSize(int batch_size) {batch_size_ = batch_size;};
int GetBatchSize() {return batch_size_;};
void StartUtterance();
void EndUtterance();
--
Gitblit v1.9.1