From 388eaaa3c3c2f5d48fe938455594d10ba3ff8af6 Mon Sep 17 00:00:00 2001
From: magicharry <magicharry@qq.com>
Date: 星期二, 28 二月 2023 18:16:07 +0800
Subject: [PATCH] Dev jy (#1)
---
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