code: def dict_product(dicts):
      """
      from https://stackoverflow.com/questions/5228158/cartesian-product-of-a-dictionary-of-lists
      """
      return (
          dict(zip(dicts, x))
          for x in itertools.product(*dicts.values())
      )
  
file_path: NiftyNet/demos/unet/generate_run_commands.py
imports: import itertools
label_desc: Use image node_id 1 for calling a global function with example usage: dict_product(dicts) and returns: unknown