code: def build_index(tarpath, indexfile):
      with IndexCreator(tarpath, indexfile) as index:
          index.create_index()
  
file_path: NeMo/scripts/speech_recognition/create_dali_tarred_dataset_index.py
imports: import glob
  import logging
  import os
  from dataclasses import dataclass
  import hydra
  from hydra.core.config_store import ConfigStore
  from joblib import Parallel, delayed
  from omegaconf import MISSING
label_desc: Use image node_id 2 for calling a global function with example usage: build_index(tarpath, indexfile) without return types