code: def flatten(d, parent_key="", sep="_"):
      """Straight-up from https://stackoverflow.com/a/6027615/3775820."""
      items = []
      for k, v in d.items():
          new_key = parent_key + sep + k if parent_key else k
          if isinstance(v, collections.abc.MutableMapping):
              items.extend(flatten(v, new_key, sep=sep).items())
          else:
              items.append((new_key, v))
      return dict(items)
  
imports: import socket
  import sys
  import os
  import csv
  import yaml
  import psutil
  import pynvml
  import multiprocess
  import collections
  import torch
  import torch._inductor.config
  import transformers
  import json
  import random
  import numpy
  import time
  import datetime
  import tempfile
  from .data.utils import checksum_config
  import logging
  import hydra
  from omegaconf import OmegaConf, open_dict
label_desc: Use image node_id 15 for calling a global function with example usage: flatten(d, parent_key, sep) and returns: dict