code: def parse_args(argv: List[str]) -> argparse.Namespace:
      parser = argparse.ArgumentParser(
          description="Shuffle preprocessed npy dataset."
      )
      parser.add_argument(
          "--input_dir_labels_and_dense",
          type=str,
          required=True,
          help="Input directory containing labels and dense features.",
      )
      parser.add_argument(
          "--input_dir_sparse",
          type=str,
          required=True,
          help="Input directory with sparse features. Sometimes these"
          " features can be stored in a separate directory from the"
          " labels and dense features as extra pre-processing was"
          " applied to them.",
      )
      parser.add_argument(
          "--output_dir_full_set",
          type=str,
          default=None,
          help="If specified, store the full dataset (unshuffled).",
      )
      parser.add_argument(
          "--output_dir_shuffled",
          type=str,
          required=True,
          help="Output directory to store split shuffled npy files.",
      )
      parser.add_argument(
          "--random_seed",
          type=int,
          default=0,
          help="random seed for the dataset shuffle",
      )
      return parser.parse_args(argv)
  
file_path: torchrec/torchrec/datasets/scripts/shuffle_preproc_criteo.py
imports: import argparse
  import os
  import sys
  from multiprocessing import Manager, Process
  from typing import List
  import numpy
  from torchrec.datasets.criteo import BinaryCriteoUtils
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args(argv) and returns: parser