zhifu gao
2024-06-04 3b0526e7be3565c42007313b90a018a2f8c8dff1
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