维石
2024-06-03 c0e5107b3924c01867749e826332faa058bd02c6
funasr/models/ct_transformer_streaming/attention.py
@@ -18,5 +18,3 @@
        scores = torch.matmul(q_h, k_h.transpose(-2, -1))
        att_outs = self.forward_attention(v_h, scores, mask[1], mask_att_chunk_encoder)
        return att_outs + fsmn_memory