class_docstr: Class wrapping a DeepSpeech stream. The constructor cannot be called directly.
  Use :func:`Model.createStream()`
docstr: Compute the intermediate decoding of an ongoing streaming inference and return results including metadata.
  
  :param num_results: Maximum number of candidate transcripts to return. Returned list might be smaller than this.
  :type num_results: int
  
  :return: Metadata object containing multiple candidate transcripts. Each transcript has per-token metadata including timing information.
  :type: :func:`Metadata`
  
  :throws: RuntimeError if the stream object is not valid
docstr_tok: ["Compute","the","intermediate","decoding","of","an","ongoing","streaming","inference","and","return","results","including","metadata",".",":","param","num_results",":","Maximum","number","of","candidate","transcripts","to","return",".","Returned","list","might","be","smaller","than","this",".",":","type","num_results",":","int",":","return",":","Metadata","object","containing","multiple","candidate","transcripts",".","Each","transcript","has","per-token","metadata","including","timing","information",".",":","type",":",":","func",":","`","Metadata","`",":","throws",":","RuntimeError","if","the","stream","object","is","not","valid"]
code: def intermediateDecodeWithMetadata(self, num_results=1):
      """
      Compute the intermediate decoding of an ongoing streaming inference and return results including metadata.
  
      :param num_results: Maximum number of candidate transcripts to return. Returned list might be smaller than this.
      :type num_results: int
  
      :return: Metadata object containing multiple candidate transcripts. Each transcript has per-token metadata including timing information.
      :type: :func:`Metadata`
  
      :throws: RuntimeError if the stream object is not valid
      """
      if not self._impl:
          raise RuntimeError(
              "Stream object is not valid. Trying to decode an already finished stream?"
          )
      return deepspeech.impl.IntermediateDecodeWithMetadata(
          self._impl, num_results
      )
  
imports: import os
  import platform
  import deepspeech
  from deepspeech.impl import Version
label_desc: Use image node_id 5 for calling the Stream obj's underlying member method code with example usage: obj.intermediateDecodeWithMetadata(num_results) and returns: deepspeech