code: def c_array(ctype, values):
      arr = (ctype * len(values))()
      arr[:] = values
      return arr
  
file_path: MMdnn/mmdnn/conversion/examples/darknet/darknet.py
imports: from ctypes import *
  import math
  import random
label_desc: Use image node_id 2 for calling a global function with example usage: c_array(ctype, values) and returns: arr