docstr: Verify that scripting RNNT does not change the behavior of method `join`.
docstr_tok: ["Verify","that","scripting","RNNT","does","not","change","the","behavior","of","method","`","join","`","."]
code: def test_torchscript_consistency_join(self):
      r"""Verify that scripting RNNT does not change the behavior of method `join`."""
      (
          utterance_encodings,
          utterance_lengths,
          target_encodings,
          target_lengths,
      ) = self._get_joiner_input()
  
      rnnt = self._get_model()
      scripted = torch_script(rnnt)
  
      ref_out, ref_src_lengths, ref_tgt_lengths = rnnt.join(
          utterance_encodings,
          utterance_lengths,
          target_encodings,
          target_lengths,
      )
      (
          scripted_out,
          scripted_src_lengths,
          scripted_tgt_lengths,
      ) = scripted.join(
          utterance_encodings,
          utterance_lengths,
          target_encodings,
          target_lengths,
      )
      self.assertEqual(ref_out, scripted_out)
      self.assertEqual(ref_src_lengths, scripted_src_lengths)
      self.assertEqual(ref_tgt_lengths, scripted_tgt_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 11 for calling the ConformerRNNTTestImpl obj's underlying member method code with example usage: obj.test_torchscript_consistency_join() without return types