Skip to content

Commit

Permalink
Fix _classifier() func name
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaikh-Ubaid committed Apr 21, 2024
1 parent d24a00b commit 515acd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ function doClassify() {

// Call Wasm classifier and store results
const out_ptr = Module._malloc(10);
Module._classifier_(weights_ptr, image_ptr, out_ptr);
Module._classifier(weights_ptr, image_ptr, out_ptr);

// Draw results as a histogram
const out_bytes = Module.HEAPF64.subarray(out_ptr / 8, out_ptr / 8 + 10);
Expand Down

0 comments on commit 515acd7

Please sign in to comment.