code: def _test_large_generation(in_queue, out_queue, timeout):
      error = None
      try:
          _ = in_queue.get(timeout=timeout)
  
          set_seed(0)
          processor = WhisperProcessor.from_pretrained(
              "openai/whisper-large"
          )
          model = TFWhisperForConditionalGeneration.from_pretrained(
              "openai/whisper-large"
          )
  
          input_speech = _load_datasamples(1)
          input_features = processor.feature_extractor(
              raw_speech=input_speech, return_tensors="tf"
          ).input_features
  
          model.config.forced_decoder_ids = (
              processor.get_decoder_prompt_ids(
                  language="en", task="transcribe"
              )
          )
          generated_ids = model.generate(
              input_features, do_sample=False, max_length=20
          )
          transcript = processor.batch_decode(
              generated_ids, skip_special_tokens=True
          )[0]
  
          EXPECTED_TRANSCRIPT = " Mr. Quilter is the apostle of the middle classes and we are glad"
          unittest.TestCase().assertEqual(
              transcript, EXPECTED_TRANSCRIPT
          )
      except Exception:
          error = f"{traceback.format_exc()}"
  
      results = {"error": error}
      out_queue.put(results, timeout=timeout)
      out_queue.join()
  
imports: import inspect
  import os
  import tempfile
  import traceback
  import unittest
  import numpy
  from transformers import WhisperConfig, WhisperFeatureExtractor, WhisperProcessor
  from transformers.testing_utils import is_tf_available, require_tf, require_tokenizers, run_test_in_subprocess, slow
  from transformers.utils import cached_property
  from transformers.utils.import_utils import is_datasets_available
  from ...test_configuration_common import ConfigTester
  from ...test_modeling_tf_common import TFModelTesterMixin, floats_tensor, ids_tensor
label_desc: Use image node_id 4 for calling a global function with example usage: _test_large_generation(in_queue, out_queue, timeout) without return types