From e0a6daebf2646b0612b13e12979a2bb7164c54b8 Mon Sep 17 00:00:00 2001
From: root <zhangyuekai@foxmail.com>
Date: 星期一, 27 二月 2023 17:57:53 +0800
Subject: [PATCH] add triton
---
funasr/runtime/python/onnxruntime/rapid_paraformer/utils.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/funasr/runtime/python/onnxruntime/rapid_paraformer/utils.py b/funasr/runtime/python/onnxruntime/rapid_paraformer/utils.py
index adab790..839adb4 100644
--- a/funasr/runtime/python/onnxruntime/rapid_paraformer/utils.py
+++ b/funasr/runtime/python/onnxruntime/rapid_paraformer/utils.py
@@ -165,7 +165,8 @@
frame_shift=self.frame_shift,
dither=self.dither,
energy_floor=0.0,
- sample_frequency=self.fs)
+ sample_frequency=self.fs,
+ window_type=self.window)
feat = mat.astype(np.float32)
feat_len = np.array(mat.shape[0]).astype(np.int32)
return feat, feat_len
--
Gitblit v1.9.1