From 790ce97b79bd9a3cd2db58ddad93d5aa4b57a8fc Mon Sep 17 00:00:00 2001
From: Yabin Li <wucong.lyb@alibaba-inc.com>
Date: 星期五, 30 六月 2023 17:48:53 +0800
Subject: [PATCH] Rename docker_lists to docker_offline_cpu_zh_lists
---
funasr/layers/label_aggregation.py | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/funasr/layers/label_aggregation.py b/funasr/layers/label_aggregation.py
index 075e19d..8366a79 100644
--- a/funasr/layers/label_aggregation.py
+++ b/funasr/layers/label_aggregation.py
@@ -1,5 +1,4 @@
import torch
-from typeguard import check_argument_types
from typing import Optional
from typing import Tuple
@@ -13,7 +12,6 @@
hop_length: int = 128,
center: bool = True,
):
- assert check_argument_types()
super().__init__()
self.win_length = win_length
@@ -79,4 +77,4 @@
else:
olens = None
- return output, olens
+ return output.to(input.dtype), olens
--
Gitblit v1.9.1