docstr: Verify that scripting RNNT does not change the behavior of method `transcribe`.
docstr_tok: ["Verify","that","scripting","RNNT","does","not","change","the","behavior","of","method","`","transcribe","`","."]
code: def test_torchscript_consistency_transcribe(self):
      r"""Verify that scripting RNNT does not change the behavior of method `transcribe`."""
      input, lengths = self._get_transcriber_input()
  
      rnnt = self._get_model()
      scripted = torch_script(rnnt)
  
      ref_out, ref_lengths = rnnt.transcribe(input, lengths)
      scripted_out, scripted_lengths = scripted.transcribe(
          input, lengths
      )
  
      self.assertEqual(ref_out, scripted_out)
      self.assertEqual(ref_lengths, scripted_lengths)
  
file_path: audio/test/torchaudio_unittest/prototype/rnnt_test_impl.py
imports: import torch
  from torchaudio.prototype.models import conformer_rnnt_model
  from torchaudio_unittest.common_utils import TestBaseMixin, torch_script
label_desc: Use image node_id 9 for calling the ConformerRNNTTestImpl obj's underlying member method code with example usage: obj.test_torchscript_consistency_transcribe() without return types