code: def box_ious(boxes):
      n = len(boxes)
      res = np.zeros((n, n))
      for i in range(n - 1):
          for j in range(i + 1, n):
              iou_val = with_overlap(boxes[i], boxes[j])
              res[i, j] = iou_val
              res[j, i] = iou_val
      return res
  
file_path: dgl/examples/mxnet/scenegraph/train_freq_prior.py
imports: import argparse
  import json
  import os
  import pickle
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: box_ious(boxes) and returns: res