Gets the inference results for a classification model.
Returns the inference index, and populates optional parameters label, score of the highest scoring class. Only valid for single dimension, classification type models.
- Parameters
-
| [in] | compiled_model | Model to get results for. |
| [in] | packed_output | Location of model output. If NULL, output is looked for in the interlayer buffer. This is not safe in dynamic systems. |
| [out] | label | Text of the classification label (if labels were provided in the compiled model). |
| [out] | score | Score of the highest scoring classification. |
- Return values
-
| Index | of highest scoring classification. |