code: def unpack_dict_to_list(samples):
      samples_ = []
      bsz = samples.get("outputs").size(0)
      for i in range(bsz):
          res = {}
          for k, v in samples.items():
              try:
                  res[k] = v[i]
              except:
                  pass
          samples_.append(res)
      return samples_
  
file_path: PaddleHub/modules/audio/svs/diffsinger/utils/__init__.py
imports: import sys
  import time
  import types
  import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: unpack_dict_to_list(samples) and returns: samples_