From 3c0a9fb7c1bd642f3370d406fca81ff50ae9bc82 Mon Sep 17 00:00:00 2001
From: shixian.shi <shixian.shi@alibaba-inc.com>
Date: 星期四, 27 四月 2023 12:10:41 +0800
Subject: [PATCH] fix name

---
 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