fill missing argument in argmax: axis

This commit is contained in:
千住柱間 2025-04-09 00:33:42 -04:00
commit 3e233df97a
Signed by: hashirama
GPG key ID: 53E62470A86BC185

View file

@ -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);