Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/
Ddetection_postprocess.cc354 const float area_j = (box_j.ymax - box_j.ymin) * (box_j.xmax - box_j.xmin); in ComputeIntersectionOverUnion() local
355 if (area_i <= 0 || area_j <= 0) return 0.0; in ComputeIntersectionOverUnion()
363 return intersection_area / (area_i + area_j - intersection_area); in ComputeIntersectionOverUnion()
/external/tensorflow/tensorflow/core/kernels/
Dnon_max_suppression_op.cc118 const T area_j = (ymax_j - ymin_j) * (xmax_j - xmin_j); in IOUGreaterThanThreshold() local
119 if (area_i <= static_cast<T>(0) || area_j <= static_cast<T>(0)) return 0; in IOUGreaterThanThreshold()
127 const T iou = intersection_area / (area_i + area_j - intersection_area); in IOUGreaterThanThreshold()
Dnon_max_suppression_op_test.cc673 const float area_j = (ymax_j - ymin_j) * (xmax_j - xmin_j); in AddIoUInput() local
676 if (area_i <= 0 || area_j <= 0) { in AddIoUInput()
686 iou = intersection_area / (area_i + area_j - intersection_area); in AddIoUInput()