code: def fill_network_boxes(
      net_shape, im_shape, thresh, relative, tvm_out
  ):
      dets = []
      for layer in tvm_out:
          if layer["type"] == "Yolo":
              _get_yolo_detections(
                  layer, im_shape, net_shape, thresh, relative, dets
              )
          elif layer["type"] == "Region":
              _get_region_detections(
                  layer, im_shape, net_shape, thresh, relative, dets
              )
      return dets
  
imports: from __future__ import division
  import math
  from collections import namedtuple
  from functools import cmp_to_key
  import numpy
label_desc: Use image node_id 10 for calling a global function with example usage: fill_network_boxes(net_shape, im_shape, thresh, relative, tvm_out) and returns: dets