Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Dbounding_box.cc121 Status BoundingBox::PadBBoxes(const TensorPtr *bbox_list, size_t bbox_count, int32_t pad_top, int32… in PadBBoxes() argument
123 for (dsize_t i = 0; i < bbox_count; i++) { in PadBBoxes()
137 Status BoundingBox::UpdateBBoxesForCrop(TensorPtr *bbox_list, size_t *bbox_count, int32_t CB_Xmin, … in UpdateBBoxesForCrop() argument
145 for (dsize_t i = 0; i < *bbox_count; i++) { in UpdateBBoxesForCrop()
179 *bbox_count = correct_ind.size(); in UpdateBBoxesForCrop()
180 …CHECK_FAIL_RETURN_UNEXPECTED(*bbox_count >= 0, "BoundingBox: correct_ind.size() is smaller than ze… in UpdateBBoxesForCrop()
190 …Tensor::CreateFromVector(copyVals, TensorShape({static_cast<dsize_t>(*bbox_count), bboxDim}), &ret… in UpdateBBoxesForCrop()
195 Status BoundingBox::UpdateBBoxesForResize(const TensorPtr &bbox_list, size_t bbox_count, int32_t ta… in UpdateBBoxesForResize() argument
204 for (dsize_t i = 0; i < bbox_count; i++) { in UpdateBBoxesForResize()
Dbounding_box.h105 …static Status PadBBoxes(const TensorPtr *bbox_list, size_t bbox_count, int32_t pad_top, int32_t pa…
114 …static Status UpdateBBoxesForCrop(TensorPtr *bbox_list, size_t *bbox_count, int32_t CB_Xmin, int32…
125 …static Status UpdateBBoxesForResize(const TensorPtr &bbox_list, size_t bbox_count, int32_t target_…
/third_party/mindspore/tests/ut/cpp/dataset/common/
Dbboxop_common.cc200 dsize_t bbox_count = 0; // keep track of number of bboxes in file in LoadAnnotationFile() local
204 bbox_count += 1; in LoadAnnotationFile()
229 …Status s = Tensor::CreateFromVector(return_value_list, TensorShape({bbox_count, bbox_val_count}), … in LoadAnnotationFile()