code: def get_parser():
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "--ssl_type",
          type=str,
          default="wavlm",
          choices=["wavlm", "hubert"],
      )
  
      parser.add_argument(
          "--ckpt_path", type=str, default="", required=True, help=""
      )
      parser.add_argument("--layer", type=int, default=None)
      parser.add_argument("--sample_rate", type=int, default=16000)
      parser.add_argument("--max_chunk", type=int, default=1600000)
      parser.add_argument("--seed", default=0, type=int)
      parser.add_argument(
          "--in_filetype",
          type=str,
          default="sound",
          choices=["mat", "hdf5", "sound.hdf5", "sound"],
          help="Specify the file format for the rspecifier. "
          '"mat" is the matrix format in kaldi',
      )
      parser.add_argument(
          "--out_filetype",
          type=str,
          default="npy",
          choices=["npy", "mat", "hdf5"],
          help="Specify the file format for the wspecifier. "
          '"npy" is the matrix format in kaldi',
      )
      parser.add_argument(
          "--write_num_frames",
          type=str,
          help="Specify wspecifer for utt2num_frames",
      )
      parser.add_argument(
          "rspecifier",
          type=str,
          help="Read specifier for feats. e.g. ark:some.ark",
      )
      parser.add_argument(
          "wspecifier",
          type=str,
          help="Write specifier. e.g. ark:some.ark",
      )
  
      return parser
  
file_path: espnet/egs2/librispeech/asr2/local/dump_hubert_or_wavlm_feature.py
imports: import argparse
  import logging
  import os
  import numpy
  from hubert_feature_loader import HubertFeatureReader
  from wavlm_feature_loader import WavLMFeatureReader
  from espnet.utils.cli_readers import file_reader_helper
  from espnet.utils.cli_utils import is_scipy_wav_style
  from espnet.utils.cli_writers import file_writer_helper
label_desc: Use image node_id 1 for calling a global function with example usage: get_parser() and returns: parser