From 8b0fb74bded1f8a162e6c0e94c3522be6216ea03 Mon Sep 17 00:00:00 2001
From: chengligen <101448376+chengligen@users.noreply.github.com>
Date: 星期一, 26 五月 2025 14:11:33 +0800
Subject: [PATCH] feat: add 'words' key aligned with timestamps in sensevoice model output (#2531)

---
 funasr/frontends/utils/mask_estimator.py |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/funasr/frontends/utils/mask_estimator.py b/funasr/frontends/utils/mask_estimator.py
index 002e474..29a21d9 100644
--- a/funasr/frontends/utils/mask_estimator.py
+++ b/funasr/frontends/utils/mask_estimator.py
@@ -23,9 +23,7 @@
 
         self.type = type
         self.nmask = nmask
-        self.linears = torch.nn.ModuleList(
-            [torch.nn.Linear(projs, idim) for _ in range(nmask)]
-        )
+        self.linears = torch.nn.ModuleList([torch.nn.Linear(projs, idim) for _ in range(nmask)])
 
     def forward(
         self, xs: ComplexTensor, ilens: torch.LongTensor

--
Gitblit v1.9.1