Searched refs:box_i (Results 1 – 1 of 1) sorted by relevance
351 auto& box_i = ReInterpretTensor<const BoxCornerEncoding*>(decoded_boxes)[i]; in ComputeIntersectionOverUnion() local353 const float area_i = (box_i.ymax - box_i.ymin) * (box_i.xmax - box_i.xmin); in ComputeIntersectionOverUnion()356 const float intersection_ymin = std::max<float>(box_i.ymin, box_j.ymin); in ComputeIntersectionOverUnion()357 const float intersection_xmin = std::max<float>(box_i.xmin, box_j.xmin); in ComputeIntersectionOverUnion()358 const float intersection_ymax = std::min<float>(box_i.ymax, box_j.ymax); in ComputeIntersectionOverUnion()359 const float intersection_xmax = std::min<float>(box_i.xmax, box_j.xmax); in ComputeIntersectionOverUnion()