Home
last modified time | relevance | path

Searched refs:num_boxes (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Ddetection_post_process_fp32.c39 int DecodeBoxes(int num_boxes, const float *input_boxes, const float *anchors, in DecodeBoxes() argument
50 for (int i = 0; i < num_boxes; ++i) { in DecodeBoxes()
66 int NmsSingleClass(const int num_boxes, const float *decoded_boxes, const int max_detections, const… in NmsSingleClass() argument
73 const int output_num = num_boxes < max_detections ? num_boxes : max_detections; in NmsSingleClass()
74 int possible_candidate_num = num_boxes; in NmsSingleClass()
77 for (int i = 0; i < num_boxes; ++i) { in NmsSingleClass()
81 PartialArgSort(scores, indexes, num_boxes, num_boxes); in NmsSingleClass()
82 for (int i = 0; i < num_boxes; ++i) { in NmsSingleClass()
93 for (int t = i + 1; t < num_boxes; ++t) { in NmsSingleClass()
108 int NmsMultiClassesFastCore(const int num_boxes, const int num_classes_with_bg, const float *input_… in NmsMultiClassesFastCore() argument
[all …]
Ddetection_post_process_fp32.h40 int DecodeBoxes(int num_boxes, const float *input_boxes, const float *anchors,
43 int NmsMultiClassesFastCore(const int num_boxes, const int num_classes_with_bg, const float *input_…
47 int DetectionPostProcessFast(const int num_boxes, const int num_classes_with_bg, const float *input…
52 int DetectionPostProcessRegular(const int num_boxes, const int num_classes_with_bg, const float *in…
/third_party/mindspore/tests/st/ops/ascend/test_aicpu_ops/
Dtest_crop_and_reszie.py39 num_boxes = 5
44 boxes = np.random.uniform(size=[num_boxes, 4]).astype(np.float32)
45 box_index = np.random.uniform(size=[num_boxes], low=0, high=batch_size).astype(np.int32)
/third_party/mindspore/mindspore/ops/operations/
Dimage_ops.py137 num_boxes = boxes_shape[0]
141 out_shape = (num_boxes, crop_height, crop_width, depth)
143 out_shape = (num_boxes, x_shape[1], crop_height, crop_width)
/third_party/mesa3d/src/gallium/frontends/xa/
Dxa_context.h63 unsigned int num_boxes,
80 unsigned int num_boxes);
Dxa_yuv.c119 unsigned int num_boxes, in xa_yuv_planar_blit() argument
143 while (num_boxes--) { in xa_yuv_planar_blit()
Dxa_context.c102 int to_surface, struct xa_box *boxes, unsigned int num_boxes) in xa_surface_dma() argument
113 for (i = 0; i < num_boxes; ++i, ++boxes) { in xa_surface_dma()
/third_party/weston/libweston/
Dinput.c4357 int num_boxes; in region_to_outline() local
4379 boxes = pixman_region32_rectangles(region, &num_boxes); in region_to_outline()
4383 bottom_most = boxes[num_boxes - 1].y2; in region_to_outline()
4386 for (i = 0; i < num_boxes; i++) { in region_to_outline()
4401 if (boxes[i].y1 != current_roof && i == num_boxes - 1) { in region_to_outline()