'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.'

def _compare(self, boxlist1, boxlist2):

    return box_list_ops.iou(boxlist1, boxlist2)
