code: def parse_dtype(dt):
      if dt == np.double:
          return "double"
      if dt == np.single:
          return "float"
      raise ValueError(f"Input array has unexpected dtype = {dt}")
  
imports: import os
  import sys
  import threading
  import warnings
  from functools import wraps
  from inspect import Parameter, signature
  from multiprocessing import cpu_count
  from numbers import Integral
  from typing import Any, Callable, Tuple
  from warnings import warn
  import numpy
  import threadpoolctl
  from numpy.lib.recfunctions import require_fields
  from sklearn import __version__
  from daal4py import _get__daal_link_version__
  from daal4py import daalinit
  from daal4py import num_threads
  import logging
label_desc: Use image node_id 5 for calling a global function with example usage: parse_dtype(dt) and returns: str, str