Lines Matching refs:boxes
40 SimpleTensor<T> bounding_box_transform(const SimpleTensor<T> &boxes, const SimpleTensor<TDeltas> &d… in bounding_box_transform() argument
42 const DataType boxes_data_type = boxes.data_type(); in bounding_box_transform()
67 …const T width = (boxes[start_box + 2] / scale_before) - (boxes[start_box] / scale_before)… in bounding_box_transform()
68 …const T height = (boxes[start_box + 3] / scale_before) - (boxes[start_box + 1] / scale_bef… in bounding_box_transform()
69 const T ctr_x = (boxes[start_box] / scale_before) + T(0.5f) * width; in bounding_box_transform()
70 const T ctr_y = (boxes[start_box + 1] / scale_before) + T(0.5f) * height; in bounding_box_transform()
101 template SimpleTensor<float> bounding_box_transform(const SimpleTensor<float> &boxes, const SimpleT…
102 template SimpleTensor<half> bounding_box_transform(const SimpleTensor<half> &boxes, const SimpleTen…
105 SimpleTensor<uint16_t> bounding_box_transform(const SimpleTensor<uint16_t> &boxes, const SimpleTens… in bounding_box_transform() argument
107 SimpleTensor<float> boxes_tmp = convert_from_asymmetric(boxes); in bounding_box_transform()
110 …SimpleTensor<uint16_t> pred_boxes = convert_to_asymmetric<uint16_t>(pred_boxes_tmp, boxes.quan… in bounding_box_transform()