code: def _coco_evaluation_iou_sweep(gts, preds, config):
      iou_threshs = config.iou_threshs
      id_keys = [
          "eval_id_%s" % str(i).replace(".", "_") for i in iou_threshs
      ]
      iou_key = "eval_iou"
  
      cats, pred_ious, iscrowd = _coco_evaluation_setup(
          gts,
          preds,
          id_keys,
          iou_key,
          config,
          max_preds=config.max_preds,
      )
  
      return [
          _compute_matches(
              cats,
              pred_ious,
              iou_thresh,
              iscrowd,
              eval_key="_eval",
              id_key=id_key,
              iou_key=iou_key,
          )
          for iou_thresh, id_key in zip(iou_threshs, id_keys)
      ]
  
imports: import logging
  from collections import defaultdict
  import numpy
  import eta.core.utils
  import fiftyone.core.plots
  import fiftyone.utils.iou
  from .detection import DetectionEvaluation, DetectionEvaluationConfig, DetectionResults
label_desc: Use image node_id 2 for calling a global function with example usage: _coco_evaluation_iou_sweep(gts, preds, config) and returns: unknown