code: def test_pretrained_speech2Text(asr_config_file):
      speech2text = Speech2Text.from_pretrained(
          model_tag=None,
          asr_train_config=asr_config_file,
          beam_size=1,
      )
  
      speech = np.random.randn(100000)
      _ = speech2text(speech)
  
imports: import string
  from argparse import ArgumentParser
  from distutils.version import LooseVersion
  from pathlib import Path
  from typing import List
  import numpy
  import pytest
  import torch
  from espnet2.asr_transducer.beam_search_transducer import Hypothesis
  from espnet2.bin.asr_transducer_inference import Speech2Text, get_parser, main
  from espnet2.tasks.asr_transducer import ASRTransducerTask
  from espnet2.tasks.lm import LMTask
label_desc: Use image node_id 10 for calling a global function with example usage: test_pretrained_speech2Text(asr_config_file) without return types