Home
last modified time | relevance | path

Searched refs:box_j (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/
Ddetection_postprocess.cc352 auto& box_j = ReInterpretTensor<const BoxCornerEncoding*>(decoded_boxes)[j]; in ComputeIntersectionOverUnion() local
354 const float area_j = (box_j.ymax - box_j.ymin) * (box_j.xmax - box_j.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()