code: def _get_complex_dtype(real_dtype: torch.dtype):
      if real_dtype == torch.double:
          return torch.cdouble
      if real_dtype == torch.float:
          return torch.cfloat
      if real_dtype == torch.half:
          return torch.complex32
      raise ValueError(f"Unexpected dtype {real_dtype}")
  
imports: import math
  import tempfile
  import warnings
  from collections.abc import Sequence
  from typing import List, Optional, Tuple, Union
  import torch
  import torchaudio
  from torch import Tensor
  from torchaudio._internal.module_utils import deprecated
  from .filtering import highpass_biquad, treble_biquad
label_desc: Use image node_id 4 for calling a global function with example usage: _get_complex_dtype(real_dtype) and returns: torch, torch, torch