Skip to content

Commit ab0013d

Browse files
authored
[wasm] Update README.md (#2508)
Add FAQ and link to XNNPACK in the WASM readme. DOC
1 parent 4e274bf commit ab0013d

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

tfjs-backend-wasm/README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,34 @@ async function main() {
5353
main();
5454
```
5555

56+
Our WASM backend builds on top of the
57+
[XNNPACK library](https://github.com/google/XNNPACK) which provides
58+
high-efficiency floating-point neural network inference operators.
59+
60+
# FAQ
61+
62+
### How many ops have you implemented?
63+
See [`all_kernels.ts`](https://github.com/tensorflow/tfjs/blob/master/tfjs-backend-wasm/src/kernels/all_kernels.ts)
64+
for an up-to-date list of supported ops. We love contributions. See the
65+
[contributing](https://github.com/tensorflow/tfjs/blob/master/CONTRIBUTING.md#adding-functionality)
66+
document for more info.
67+
68+
### Do you support training?
69+
Maybe. There are still a decent number of ops that we are missing in WASM that
70+
are needed for gradient computation. At this point we are focused on making
71+
inference as fast as possible.
72+
73+
### Do you work in node?
74+
Yes. If you run into issues, please let us know.
75+
76+
### Do you support SIMD?
77+
We are actively working on adding SIMD before we do the official release.
78+
The switch to SIMD should happen transparently for browsers that support it.
79+
80+
### Do you support multi-threading?
81+
Multi-threading support is not a priority for us at this point since it is still
82+
a proposal. We will keep a close eye on it as the proposal progresses.
83+
5684
# Development
5785

5886
## Emscripten installation

0 commit comments

Comments
 (0)