code: def convert_boxes(outs, format):
      if format == "box":
          return outs[0]
      elif format == "start_end":
          return [
              np.concatenate([start, end])
              for start, end in zip(outs[0], outs[1])
          ]
      elif format == "anchor_shape":
          return [
              np.concatenate([anchor, anchor + shape])
              for anchor, shape in zip(outs[0], outs[1])
          ]
      else:
          raise ValueError(
              "Test error - unexpected format: {}".format(format)
          )
  
imports: from nose_utils import assert_raises
  import nvidia.dali
  import nvidia.dali.fn
  import nvidia.dali.ops
  import numpy
  import scipy.ndimage
  import scipy.ndimage.measurements
  import random
  from test_utils import check_batch, np_type_to_dali
  from nose.tools import nottest
  from nose.plugins.attrib import attr
label_desc: Use image node_id 22 for calling a global function with example usage: convert_boxes(outs, format) and returns: outs, unknown, unknown