From 8cd0d4aab71939e56539ff6c1027b37ad4324433 Mon Sep 17 00:00:00 2001
From: Steve Li <93230279+BitSteve@users.noreply.github.com>
Date: 星期五, 15 十一月 2024 11:03:31 +0800
Subject: [PATCH] Add bounds check for postprocess_utils.py abbr_dispose() (#2209)
---
runtime/onnxruntime/src/bias-lm.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/runtime/onnxruntime/src/bias-lm.cpp b/runtime/onnxruntime/src/bias-lm.cpp
index 5be87f8..a652f29 100644
--- a/runtime/onnxruntime/src/bias-lm.cpp
+++ b/runtime/onnxruntime/src/bias-lm.cpp
@@ -1,5 +1,7 @@
#include "bias-lm.h"
-
+#ifdef _WIN32
+#include "fst-types.cc"
+#endif
namespace funasr {
void print(std::queue<StateId> &q) {
std::queue<StateId> data = q;
--
Gitblit v1.9.1