def test_iou(self):
    iou = np_box_list_ops.iou(self.boxlist1, self.boxlist2)
    expected_iou = np.array([[(2.0 / 16.0), 0.0, (6.0 / 400.0)], [(1.0 / 16.0), 0.0, (5.0 / 400.0)]], dtype=float)
    self.assertAllClose(iou, expected_iou)
def test_iou(self):
    iou = np_box_list_ops.iou(self.boxlist1, self.boxlist2)
    expected_iou = np.array([[(2.0 / 16.0), 0.0, (6.0 / 400.0)], [(1.0 / 16.0), 0.0, (5.0 / 400.0)]], dtype=float)
    self.assertAllClose(iou, expected_iou)