code: def gen_get_func_inlinelist(dummy_func_inlinelist):
      def get_func_inlinelist():
          inlinelist = set()
          for f in dummy_func_inlinelist:
              module_name, fn_name = f.rsplit(".", 1)
              m = importlib.import_module(module_name)
              fn = getattr(m, fn_name)
              inlinelist.add(fn.__code__)
          return inlinelist
  
      return get_func_inlinelist
  
imports: import dataclasses
  import importlib
  import inspect
  import math
  import types
  import unittest
  import warnings
  from typing import Any, Dict, Set
  import torch
  import torch._dynamo.config
  import torch._dynamo.test_case
  import torch._functorch.deprecated
  from torch._dynamo.skipfiles import FUNC_INLINELIST, LEGACY_MOD_INLINELIST, MOD_INLINELIST
  from torch._dynamo.trace_rules import load_object, torch_c_binding_in_graph_functions, torch_ctx_manager_classes, torch_non_c_binding_in_graph_functions
  from torch._dynamo.utils import hashable, is_safe_constant, istype
  from torch._dynamo.variables import TorchCtxManagerClassVariable, TorchInGraphFunctionVariable
label_desc: Use image node_id 3 for calling a global function with example usage: gen_get_func_inlinelist(dummy_func_inlinelist) and returns: get_func_inlinelist, inlinelist