code: def np_dtype_to_py_type(np_dtype):
      # Can't use dict, as hash(np.int32) != hash(val.dtype)
      if np_dtype in [np.int32, np.int64]:
          return int
      if np_dtype == np.bool:
          return bool
      if np_dtype in [np.float32, np.float64]:
          return float
      raise NotImplementedError("{} is not supported".format(np_dtype))
  
imports: from .type_bool import bool
  from .type_double import is_float, fp16, fp32, fp64
  from .type_list import is_list
  from .type_int import is_int, int8, int16, int32, int64, uint8, uint16, uint32, uint64
  from .type_str import str
  from .type_unknown import unknown
  import numpy
  import sympy
  import six
  from .get_type_info import get_type_info
label_desc: Use image node_id 1 for calling a global function with example usage: np_dtype_to_py_type(np_dtype) and returns: int, bool, float