北念
2024-07-18 bd352983c6392c32206d50ca0f5c55cb6e02e4c6
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