vitis::ai::ClassificationResult::Score - 2.0 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2022-01-20
Version
2.0 English
The struct of index and confidence for an object.

Declaration

typedef struct
{
  int index,
  float score
} vitis::ai::ClassificationResult::Score;
Table 1. Structure vitis::ai::ClassificationResult::Score member description
Member Description
index The index of the result in the ImageNet.
score Confidence of this category.