code: def dump_allowed_torch_name_rule_map() -> None:
      m = gen_allowed_objs_and_ids(
          record=True, c_binding_only=False
      ).name_rule_map
      for k, v in m.items():
          print(f'"{k}": {v.__name__},')
  
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 1 for calling a global function with example usage: dump_allowed_torch_name_rule_map() without return types