From 488781cf10e63fc62ad618a764e7aa7d390acfcb Mon Sep 17 00:00:00 2001
From: zhaomingwork <61895407+zhaomingwork@users.noreply.github.com>
Date: 星期三, 28 六月 2023 14:34:54 +0800
Subject: [PATCH] make some changes for html5 (#674)

---
 funasr/layers/label_aggregation.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/funasr/layers/label_aggregation.py b/funasr/layers/label_aggregation.py
index 075e19d..29a08a9 100644
--- a/funasr/layers/label_aggregation.py
+++ b/funasr/layers/label_aggregation.py
@@ -79,4 +79,4 @@
         else:
             olens = None
 
-        return output, olens
+        return output.to(input.dtype), olens

--
Gitblit v1.9.1