code: def test_Speech2Text_quantized(s2t_config_file):
      speech2text = Speech2Text(
          s2t_train_config=s2t_config_file,
          quantize_s2t_model=True,
      )
      speech = np.random.randn(1000)
      results = speech2text(speech)
      for text, token, token_int, hyp in results:
          assert isinstance(text, str)
          assert isinstance(token[0], str)
          assert isinstance(token_int[0], int)
          assert isinstance(hyp, Hypothesis)
  
file_path: espnet/test/espnet2/bin/test_s2t_inference_language.py
imports: from argparse import ArgumentParser
  from pathlib import Path
  import numpy
  import pytest
  from espnet2.bin.s2t_inference_language import Speech2Text, get_parser, main
  from espnet2.tasks.s2t import S2TTask
  from espnet.nets.beam_search import Hypothesis
label_desc: Use image node_id 6 for calling a global function with example usage: test_Speech2Text_quantized(s2t_config_file) without return types