code: def gen_decomposition_mappings() -> str:
      decomposition_mappings = []
      for schema, scripted_func in decomposition_table.items():
          decomposition_mappings.append(
              '    {"' + schema + '", "' + scripted_func.name + '"},'
          )
      return "\n".join(decomposition_mappings)
  
imports: import os
  from pathlib import Path
  from torch.jit._decompositions import decomposition_table
label_desc: Use image node_id 2 for calling a global function with example usage: gen_decomposition_mappings() and returns: str