Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/
Ddetection_postprocess.cc353 const float area_i = (box_i.ymax - box_i.ymin) * (box_i.xmax - box_i.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.cc117 const T area_i = (ymax_i - ymin_i) * (xmax_i - xmin_i); 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.cc672 const float area_i = (ymax_i - ymin_i) * (xmax_i - xmin_i); 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()