Example #1
0
 def test_area(self):
   areas = np_box_mask_list_ops.area(self.box_mask_list1)
   expected_areas = np.array([8.0, 10.0], dtype=float)
   self.assertAllClose(expected_areas, areas)
 def test_area(self):
   areas = np_box_mask_list_ops.area(self.box_mask_list1)
   expected_areas = np.array([8.0, 10.0], dtype=float)
   self.assertAllClose(expected_areas, areas)