Global variables
Global variables accessable outside of the C++ SDK library.
ei_classifier_inferencing_categories[]
const char* ei_classifier_inferencing_categories[] = { ... };
Brief: Array of class label strings
Source: Can be found in model-parameters/model_variables.h if you deploy your impulse as a C++ library.
Description: Global variable containing a static array of class labels in alphabetical order. Each label is a string.
Number of labels is equal to EI_CLASSIFIER_LABEL_COUNT
.
Example: You can print out all of the available labels with, for example:
for (int ix = 0; ix < EI_CLASSIFIER_LABEL_COUNT; ix++) {
ei_printf("%s\r\n", ei_classifier_inferencing_categories[ix]);
}
Last updated
Was this helpful?