From 3526eaa8d2010bda4bf57be0df2d3b2a85021769 Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期四, 06 四月 2023 17:46:46 +0800
Subject: [PATCH] grpc onnx
---
funasr/runtime/onnxruntime/src/Vocab.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/funasr/runtime/onnxruntime/src/Vocab.h b/funasr/runtime/onnxruntime/src/Vocab.h
index 328a2a1..023671a 100644
--- a/funasr/runtime/onnxruntime/src/Vocab.h
+++ b/funasr/runtime/onnxruntime/src/Vocab.h
@@ -12,6 +12,7 @@
vector<string> vocab;
bool isChinese(string ch);
bool isEnglish(string ch);
+ void loadVocabFromYaml(const char* filename);
public:
Vocab(const char *filename);
--
Gitblit v1.9.1