code: def recompile_from_code(code: str, global_vars: dict):
      func_dict = {}
      global_vars = {
          **global_vars,
          "inf": math.inf,
          "nan": math.nan,
          "NoneType": type(None),
          "torch": torch,
          "device": torch.device,
      }
      exec(code, global_vars, func_dict)
      return func_dict["forward"]
  
label_desc: Use image node_id 1 for calling a global function with example usage: recompile_from_code(code, global_vars) and returns: func_dict