code: def grid2list(grid):
      list_in = [[]]
      for grid_temp in grid:
          list_out = []
          for val in grid_temp:
              for list_temp in list_in:
                  list_out.append(list_temp + [val])
          list_in = list_out
      return list_in
  
file_path: pytorch_geometric/graphgym/configs_gen.py
imports: import argparse
  import copy
  import csv
  import os.path
  import random
  import numpy
  import yaml
  from torch_geometric.graphgym.utils.comp_budget import match_baseline_cfg
  from torch_geometric.graphgym.utils.io import makedirs_rm_exist, string_to_python
label_desc: Use image node_id 3 for calling a global function with example usage: grid2list(grid) and returns: list_in