code: def pairwise_intersection(boxlist1, boxlist2):
      """Compute pairwise intersection areas between boxes.
  
      Args:
        boxlist1: Nx4 floatbox
        boxlist2: Mx4
  
      Returns:
        a tensor with shape [N, M] representing pairwise intersections
      """
      x_min1, y_min1, x_max1, y_max1 = tf.split(boxlist1, 4, axis=1)
      x_min2, y_min2, x_max2, y_max2 = tf.split(boxlist2, 4, axis=1)
      all_pairs_min_ymax = tf.minimum(y_max1, tf.transpose(y_max2))
      all_pairs_max_ymin = tf.maximum(y_min1, tf.transpose(y_min2))
      intersect_heights = tf.maximum(
          0.0, all_pairs_min_ymax - all_pairs_max_ymin
      )
      all_pairs_min_xmax = tf.minimum(x_max1, tf.transpose(x_max2))
      all_pairs_max_xmin = tf.maximum(x_min1, tf.transpose(x_min2))
      intersect_widths = tf.maximum(
          0.0, all_pairs_min_xmax - all_pairs_max_xmin
      )
      return intersect_heights * intersect_widths
  
imports: import tensorflow
  from tensorpack.tfutils.scope_utils import under_name_scope
label_desc: Use image node_id 2 for calling a global function with example usage: pairwise_intersection(boxlist1, boxlist2) and returns: unknown