code: def code(dtype):
      for k in dtypes.keys():
          if dtypes[k] == dtype:
              return k
      raise ValueError(dtype)
  
imports: import os
  import shutil
  import struct
  from functools import lru_cache
  from itertools import accumulate
  import numpy
  import torch
label_desc: Use image node_id 9 for calling a global function with example usage: code(dtype) and returns: k