code: def _get_overlap_matrix(
      bb1_list: np.ndarray, bb2_list: np.ndarray
  ) -> np.ndarray:
      """Takes in two lists of bounding boxes and returns an IoU matrix where IoU[i][j] is the overlap between
      the i-th box in `bb1_list` and the j-th box in `bb2_list`."""
      wd = np.zeros(shape=(len(bb1_list), len(bb2_list)))
      for i in range(len(bb1_list)):
          for j in range(len(bb2_list)):
              wd[i][j] = _get_overlap(bb1_list[i], bb2_list[j])
      return wd
  
imports: import warnings
  from cleanlab.internal.constants import ALPHA, CUSTOM_SCORE_WEIGHT_BADLOC, CUSTOM_SCORE_WEIGHT_OVERLOOKED, CUSTOM_SCORE_WEIGHT_SWAP, EUC_FACTOR, HIGH_PROBABILITY_THRESHOLD, LOW_PROBABILITY_THRESHOLD, MAX_ALLOWED_BOX_PRUNE, TINY_VALUE, TEMPERATURE, LABEL_OVERLAP_THRESHOLD
  import copy
  from typing import TYPE_CHECKING, Any, Dict, List, Optional, Tuple, TypeVar
  import numpy
  from cleanlab.internal.object_detection_utils import softmin1d, assert_valid_aggregation_weights, assert_valid_inputs
label_desc: Use image node_id 13 for calling a global function with example usage: _get_overlap_matrix(bb1_list, bb2_list) and returns: wd