code: def merge_dictlist(dictlist):
      """Merge list of dicts into dict of lists, by grouping same key."""
      ret = {k: [] for k in dictlist[0].keys()}
      for dic in dictlist:
          for data_key, v in dic.items():
              ret[data_key].append(v)
      return ret
  
imports: import hashlib
  import operator
  import sys
  from collections import Counter
  from collections import OrderedDict
  from datetime import datetime
  from numbers import Number
  import numpy
  import torch
label_desc: Use image node_id 1 for calling a global function with example usage: merge_dictlist(dictlist) and returns: ret