Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dnon_max_suppression.h49 const float area_j = in ComputeIntersectionOverUnion() local
51 if (area_i <= 0 || area_j <= 0) return 0.0; in ComputeIntersectionOverUnion()
59 return intersection_area / (area_i + area_j - intersection_area); in ComputeIntersectionOverUnion()
/external/tensorflow/tensorflow/lite/micro/kernels/
Ddetection_postprocess.cc385 const float area_j = (box_j.ymax - box_j.ymin) * (box_j.xmax - box_j.xmin); in ComputeIntersectionOverUnion() local
386 if (area_i <= 0 || area_j <= 0) return 0.0; in ComputeIntersectionOverUnion()
394 return intersection_area / (area_i + area_j - intersection_area); in ComputeIntersectionOverUnion()
/external/tensorflow/tensorflow/lite/kernels/
Ddetection_postprocess.cc400 const float area_j = (box_j.ymax - box_j.ymin) * (box_j.xmax - box_j.xmin); in ComputeIntersectionOverUnion() local
401 if (area_i <= 0 || area_j <= 0) return 0.0; in ComputeIntersectionOverUnion()
409 return intersection_area / (area_i + area_j - intersection_area); in ComputeIntersectionOverUnion()
/external/tensorflow/tensorflow/core/kernels/image/
Dnon_max_suppression_op.cc124 const T area_j = (ymax_j - ymin_j) * (xmax_j - xmin_j); in IOU() local
125 if (area_i <= static_cast<T>(0) || area_j <= static_cast<T>(0)) { in IOU()
135 return intersection_area / (area_i + area_j - intersection_area); in IOU()
Dnon_max_suppression_op_test.cc759 const float area_j = (ymax_j - ymin_j) * (xmax_j - xmin_j); in AddIoUInput() local
762 if (area_i <= 0 || area_j <= 0) { in AddIoUInput()
772 iou = intersection_area / (area_i + area_j - intersection_area); in AddIoUInput()