code: def get_pt_dtype(dtype_str: str):
      """Returns pytorch datatype specified by string."""
  
      return getattr(torch, dtype_str)
  
label_desc: Use image node_id 1 for calling a global function with example usage: get_pt_dtype(dtype_str) and returns: getattr