class_docstr: Decoder interface wrapper for CTCPrefixScore.
class_docstr_tok: ["Decoder","interface","wrapper","for","CTCPrefixScore","."]
docstr: 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
docstr_tok: ["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"]
code: 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)
  
file_path: espnet/espnet/nets/scorers/ctc.py
imports: import numpy
  import torch
  from espnet.nets.ctc_prefix_score import CTCPrefixScore, CTCPrefixScoreTH
  from espnet.nets.scorer_interface import BatchPartialScorerInterface
label_desc: Use image node_id 7 for calling the CTCPrefixScorer obj's underlying member method code with example usage: obj.extend_prob(x) without return types