docstr: Check that method `transcribe_streaming` produces correctly-shaped outputs.
docstr_tok: ["Check","that","method","`","transcribe_streaming","`","produces","correctly-shaped","outputs","."]
code: def test_output_shape_transcribe_streaming(self):
      r"""Check that method `transcribe_streaming` produces correctly-shaped outputs."""
      input_config = self._get_input_config()
      batch_size = input_config["batch_size"]
      segment_length = input_config["segment_length"]
      encoding_dim = input_config["encoding_dim"]
      time_reduction_stride = input_config["time_reduction_stride"]
  
      input, lengths = self._get_transcriber_streaming_input()
  
      rnnt = self._get_model()
  
      state = None
      for _ in range(2):
          out, out_lengths, state = rnnt.transcribe_streaming(
              input, lengths, state
          )
          self.assertEqual(
              (
                  batch_size,
                  segment_length // time_reduction_stride,
                  encoding_dim,
              ),
              out.shape,
          )
          self.assertEqual((batch_size,), out_lengths.shape)
  
imports: import torch
  from torchaudio.models import emformer_rnnt_model
  from torchaudio_unittest.common_utils import TestBaseMixin, torch_script
label_desc: Use image node_id 15 for calling the RNNTTestImpl obj's underlying member method code with example usage: obj.test_output_shape_transcribe_streaming() without return types