fill missing argument in argmax: axis
This commit is contained in:
parent
44f2c28d17
commit
3e233df97a
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
main.cpp
|
|
@ -61,7 +61,7 @@ int main() {
|
|||
std::cout << " Loading model...\n";
|
||||
InferenceResult result = run_inference(processed);
|
||||
std::cout << " Inference succeeded!\n";
|
||||
std::cout << nc::argmax(result.logits); // seems wrong
|
||||
std::cout << nc::argmax(result.logits, nc::Axis::ROW); // something is weird...
|
||||
// Cleanup
|
||||
stbi_image_free(pixels);
|
||||
free(ppm.pixels);
|
||||
|
|
|
|||
Loading…
Reference in a new issue