About
Quickstart
Libraries and API
Examples
Using the Server
Developers
Defined in File get_top_k.hpp
After running softmax, get the labels associated with the top k values.
d – pointer to the data
size – number of elements in the data
k – number of top elements to return
std::vector<int>