shixian.shi
2023-05-05 f72d19508c82a13369f9031bc1e3d7f238119250
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)