From b81396f912456a6a9d3813467242a805e7ce7553 Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期一, 01 四月 2024 14:31:48 +0800
Subject: [PATCH] add dec reset for batch

---
 funasr/models/sanm/attention.py |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/funasr/models/sanm/attention.py b/funasr/models/sanm/attention.py
index c3a2f94..5f91268 100644
--- a/funasr/models/sanm/attention.py
+++ b/funasr/models/sanm/attention.py
@@ -831,6 +831,3 @@
         scores = torch.matmul(q_h, k_h.transpose(-2, -1))
         att_outs = self.forward_attention(v_h, scores, mask, mask_att_chunk_encoder)
         return att_outs
-
-
-

--
Gitblit v1.9.1