code: def get_dtype_str(dtype):
      if dtype not in dtype_str_map:
          raise ValueError(
              f"{dtype} is not a valid type for this kernel."
          )
  
      return dtype_str_map[dtype]
  
imports: import cuml.internals.logger
  from uuid import uuid1
  import functools
  from cuml.internals.safe_imports import cpu_only_import
  from cuml.internals.safe_imports import gpu_only_import
label_desc: Use image node_id 1 for calling a global function with example usage: get_dtype_str(dtype) and returns: dtype_str_map