    def extend_prob(self, x: torch.Tensor):
        """Extend probs for decoding.

        This extension is for streaming decoding
        as in Eq (14) in https://arxiv.org/abs/2006.14941

        Args:
            x (torch.Tensor): The encoded feature tensor

        """
        logp = self.ctc.log_softmax(x.unsqueeze(0))
        self.impl.extend_prob(logp)
Extend probs for decoding.

This extension is for streaming decoding
as in Eq (14) in https://arxiv.org/abs/2006.14941

Args:
x (torch.Tensor): The encoded feature tensor
modules/wenet_extractor/paraformer/search/ctc.py