Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/image/
Dcrop_and_resize_op.cc59 const Tensor& box_index, in ParseAndCheckBoxSizes() argument
61 if (boxes.NumElements() == 0 && box_index.NumElements() == 0) { in ParseAndCheckBoxSizes()
75 if (box_index.dims() != 1) { in ParseAndCheckBoxSizes()
77 box_index.shape().DebugString()); in ParseAndCheckBoxSizes()
79 if (box_index.dim_size(0) != *num_boxes) { in ParseAndCheckBoxSizes()
89 OpKernelContext* context, typename TTypes<int32, 1>::ConstTensor box_index,
95 OpKernelContext* context, typename TTypes<int32, 1>::ConstTensor box_index, in RunIfBoxIndexIsValid() argument
97 const int num_boxes = box_index.dimension(0); in RunIfBoxIndexIsValid()
100 context, FastBoundsCheck(box_index(b), batch_size), in RunIfBoxIndexIsValid()
134 const Tensor& box_index = context->input(2); in ComputeAsync() local
[all …]
Dcrop_and_resize_op.h63 typename TTypes<int32, 1>::ConstTensor box_index, int batch, in operator()
65 isvalid.device(d) = ((box_index >= 0) && (box_index < batch)).all(); in operator()
Dnon_max_suppression_op.cc177 int box_index; in DoNonMaxSuppressionOp() member
183 return ((bs_i.score == bs_j.score) && (bs_i.box_index > bs_j.box_index)) || in DoNonMaxSuppressionOp()
229 similarity = similarity_fn(next_candidate.box_index, selected[j]); in DoNonMaxSuppressionOp()
257 selected.push_back(next_candidate.box_index); in DoNonMaxSuppressionOp()
298 int box_index; member
329 int box_index; in DoNMSPerClass() member
361 iou = IOU<float>(boxes_data_t, next_candidate.box_index, selected[j]); in DoNMSPerClass()
370 int id = next_candidate.box_index; in DoNMSPerClass()
372 next_candidate.box_index, in DoNMSPerClass()
377 selected.push_back(next_candidate.box_index); in DoNMSPerClass()
[all …]
/external/ImageMagick/MagickCore/
Dxwindow-private.h219 box_index, member
Dxwindow.c3185 pixel->box_index=0; in XGetPixelInfo()
Ddisplay.c2667 windows->pixel_info->box_index=(unsigned short) i; in XAnnotateEditImage()