code: def __validate_arg_type(arg):
      """Validate the type of the command line argument value."""
      dtype = float if "." in arg else int
      try:
          return dtype(arg)
      except ValueError:
          return arg
  
file_path: NeMo/examples/asr/asr_adapters/scoring_and_analysis.py
imports: import argparse
  from typing import Tuple
  import numpy
  import pandas
label_desc: Use image node_id 8 for calling a global function with example usage: __validate_arg_type(arg) and returns: dtype, arg