code: def _normalize_parse_gpu_string_input(
      s: Union[int, str, List[int]]
  ) -> Union[int, List[int]]:
      if not isinstance(s, str):
          return s
      if s == "-1":
          return -1
      if "," in s:
          return [int(x.strip()) for x in s.split(",") if len(x) > 0]
      return int(s.strip())
  
file_path: pytorch-lightning/src/lightning/fabric/utilities/device_parser.py
imports: from typing import List, MutableSequence, Optional, Tuple, Union
  import torch
  from lightning.fabric.utilities.exceptions import MisconfigurationException
  from lightning.fabric.utilities.types import _DEVICE
label_desc: Use image node_id 3 for calling a global function with example usage: _normalize_parse_gpu_string_input(s) and returns: int, s, unknown, unknown