class_docstr: Speech2Text class
docstr: Inference
  
  Args:
      data: Input speech data
  Returns:
      text
docstr_tok: ["Inference","Args",":","data",":","Input","speech","data","Returns",":","text"]
code: def __call__(self, speech: str, **decode_options) -> Optional[str]:
      """Inference
  
      Args:
          data: Input speech data
      Returns:
          text
  
      """
      assert check_argument_types()
  
      # Input as audio signal
      result = self.model.transcribe(speech, **decode_options)
  
      return result["text"]
  
imports: import argparse
  import logging
  import os
  import sys
  from distutils.version import LooseVersion
  from pathlib import Path
  from typing import Any, Dict, List, Optional, Sequence, Tuple, Union
  import torch
  import whisper
  from typeguard import check_argument_types
  from espnet2.fileio.datadir_writer import DatadirWriter
  from espnet2.torch_utils.set_all_random_seed import set_all_random_seed
  from espnet2.utils import config_argparse
  from espnet2.utils.nested_dict_action import NestedDictAction
  from espnet2.utils.types import str2bool, str2triple_str, str_or_none
  from espnet.utils.cli_utils import get_commandline_args
label_desc: Use image node_id 2 for calling the Speech2Text obj's underlying member method code with example usage: obj.__call__(speech) and returns: result