code: def ioa(box_mask_list1, box_mask_list2):
      """Computes pairwise intersection-over-area between box and mask collections.
  
      Intersection-over-area (ioa) between two masks mask1 and mask2 is defined as
      their intersection area over mask2's area. Note that ioa is not symmetric,
      that is, IOA(mask1, mask2) != IOA(mask2, mask1).
  
      Args:
        box_mask_list1: np_box_mask_list.BoxMaskList holding N boxes and masks
        box_mask_list2: np_box_mask_list.BoxMaskList holding M boxes and masks
  
      Returns:
        a numpy array with shape [N, M] representing pairwise ioa scores.
      """
      return np_mask_ops.ioa(
          box_mask_list1.get_masks(), box_mask_list2.get_masks()
      )
  
file_path: SlowFast/ava_evaluation/np_box_mask_list_ops.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import numpy
  from .None import np_box_list_ops, np_box_mask_list, np_mask_ops
label_desc: Use image node_id 5 for calling a global function with example usage: ioa(box_mask_list1, box_mask_list2) and returns: np_mask_ops