class_docstr: Class to compute similarity based on Intersection over Union (IOU) metric.
  
  This class computes pairwise similarity between two BoxLists based on IOU.
class_docstr_tok: ["Class","to","compute","similarity","based","on","Intersection","over","Union","(","IOU",")","metric",".","This","class","computes","pairwise","similarity","between","two","BoxLists","based","on","IOU","."]
docstr: Compute pairwise IOU similarity between the two BoxLists.
  
  Args:
    boxlist1: BoxList holding N boxes.
    boxlist2: BoxList holding M boxes.
  
  Returns:
    A tensor with shape [N, M] representing pairwise iou scores.
docstr_tok: ["Compute","pairwise","IOU","similarity","between","the","two","BoxLists",".","Args",":","boxlist1",":","BoxList","holding","N","boxes",".","boxlist2",":","BoxList","holding","M","boxes",".","Returns",":","A","tensor","with","shape","[","N",",","M","]","representing","pairwise","iou","scores","."]
code: def _compare(self, boxlist1, boxlist2):
      """Compute pairwise IOU similarity between the two BoxLists.
  
      Args:
        boxlist1: BoxList holding N boxes.
        boxlist2: BoxList holding M boxes.
  
      Returns:
        A tensor with shape [N, M] representing pairwise iou scores.
      """
      return iou(boxlist1, boxlist2)
  
file_path: DALI/docs/examples/use_cases/tensorflow/efficientdet/pipeline/anchors_utils/region_similarity_calculator.py
imports: from abc import ABCMeta
  from abc import abstractmethod
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling the IouSimilarity obj's underlying member method code with example usage: obj._compare(boxlist1, boxlist2) and returns: iou