Home
last modified time | relevance | path

Searched refs:label_map_ (Results 1 – 4 of 4) sorted by relevance

/external/tflite-support/tensorflow_lite_support/cc/task/vision/
Dobject_detector.cc372 label_map_, in CheckAndSetOutputs()
395 if (label_map_.empty()) { in CheckAndSetClassIndexSet()
410 for (int i = 0; i < label_map_.size(); ++i) { in CheckAndSetClassIndexSet()
411 if (label_map_[i].name == class_name) { in CheckAndSetClassIndexSet()
501 if (!label_map_.empty()) { in Postprocess()
525 if (index >= label_map_.size()) { in FillResultsFromLabelMap()
531 index, label_map_.size()), in FillResultsFromLabelMap()
534 std::string name = label_map_[index].name; in FillResultsFromLabelMap()
538 std::string display_name = label_map_[index].display_name; in FillResultsFromLabelMap()
Dimage_segmenter.cc273 label_map_, in CheckAndSetOutputs()
279 if (label_map_.empty()) { in CheckAndSetOutputs()
281 label_map_.emplace_back(LabelMapItem{}); in CheckAndSetOutputs()
289 for (int i = 0; i < label_map_.size(); ++i) { in InitColoredLabels()
294 const LabelMapItem& item = label_map_[i]; in InitColoredLabels()
Dobject_detector.h160 std::vector<LabelMapItem> label_map_; variable
Dimage_segmenter.h137 std::vector<LabelMapItem> label_map_; variable