Closed Honry closed 3 years ago
@BruceDai, @huningxin, PTAL, thanks!
Thanks @Honry.
I verified locally on browser http://127.0.0.1:8080/test/?backend=wasm with workload
--- a/src/nn/context.ts
+++ b/src/nn/context.ts
@@ -63,7 +63,7 @@ export class MLContext {
get tf(): unknown {
// Set directory of wasm binaries for 'wasm' backend
wasm.setWasmPaths(
- 'https://webmachinelearning.github.io/webnn-polyfill/dist/');
+ 'http://127.0.0.1:8080/dist/');
return tf;
}
}
Now test result of total 615 tests: passes: 566 failures: 48 pending: 1
The failures tests are
Thanks @BruceDai ! Are all the failure tests expected for wasm backend?
@huningxin, thanks for your comments, fixed the nits, PTAL again, thanks!
@huningxin, I've updated the PR to reuse the wasm binaries from TensorFlow.js, PTAL, thanks!
Delivers wasm binaries to dist/ foloder for wasm backend.