Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dnon_max_suppression.h47 const float area_i = 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.cc384 const float area_i = (box_i.ymax - box_i.ymin) * (box_i.xmax - box_i.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.cc399 const float area_i = (box_i.ymax - box_i.ymin) * (box_i.xmax - box_i.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.cc123 const T area_i = (ymax_i - ymin_i) * (xmax_i - xmin_i); 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.cc758 const float area_i = (ymax_i - ymin_i) * (xmax_i - xmin_i); 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()