code: def dtype2subtype(dtype):
      return {
          "float64": "DOUBLE",
          "float32": "FLOAT",
          "int32": "PCM_32",
          "int16": "PCM_16",
          "uint8": "PCM_U8",
          "int8": "PCM_S8",
      }[dtype]
  
file_path: audio/test/torchaudio_unittest/backend/dispatcher/soundfile/common.py
imports: import itertools
  from unittest import skipIf
  from parameterized import parameterized
  from torchaudio._internal.module_utils import is_module_available
label_desc: Use image node_id 2 for calling a global function with example usage: dtype2subtype(dtype) and returns: dict