zhaomingwork
2023-05-15 c8fe32c5bc0d7ec434d4cbce9f38bd0e1617c93a
funasr/models/encoder/sanm_encoder.py
@@ -380,7 +380,7 @@
        else:
            xs_pad = self.embed(xs_pad, cache)
        if cache["tail_chunk"]:
            xs_pad = cache["feats"]
            xs_pad = to_device(cache["feats"], device=xs_pad.device)
        else:
            xs_pad = self._add_overlap_chunk(xs_pad, cache)
        encoder_outs = self.encoders0(xs_pad, None, None, None, None)