code: def _find_duplicates_simple(ious, iou_thresh):
      # Delete the *latter* index in *every* pair of duplicate pairs
      A = np.triu(ious, k=1) > iou_thresh
      _, j = np.nonzero(A)
      return np.unique(j)
  
imports: import contextlib
  import itertools
  import logging
  import numpy
  import scipy.spatial
  import eta.core.numutils
  import eta.core.utils
  import fiftyone.core.labels
  import fiftyone.core.utils
  import fiftyone.core.validation
  from .utils3d import compute_cuboid_iou
label_desc: Use image node_id 9 for calling a global function with example usage: _find_duplicates_simple(ious, iou_thresh) and returns: np