code: def detuplify_pg(d):
      res = {}
      for k, v in d.items():
          if k == "params":
              continue
          if is_listy(v):
              res.update(**{f"{k}__{i}": v_ for i, v_ in enumerate(v)})
          else:
              res[k] = v
      return res
  
imports: from __future__ import annotations
  from .torch_basics import *
label_desc: Use image node_id 25 for calling a global function with example usage: detuplify_pg(d) and returns: res