diff --git a/tfjs-backend-wasm/README.md b/tfjs-backend-wasm/README.md index 2b60c21f47c..f0148cd5936 100644 --- a/tfjs-backend-wasm/README.md +++ b/tfjs-backend-wasm/README.md @@ -163,6 +163,10 @@ The switch to SIMD should happen transparently for browsers that support it. Multi-threading support is not a priority for us at this point since it is still a proposal. We will keep a close eye on it as the proposal progresses. +### How do I give feedback? +We'd love your feedback as we develop this backend! Please file an issue +[here](https://github.com/tensorflow/tfjs/issues/new). + # Development ## Emscripten installation diff --git a/tfjs-core/src/globals.ts b/tfjs-core/src/globals.ts index f9b7bf57605..8340d2495da 100644 --- a/tfjs-core/src/globals.ts +++ b/tfjs-core/src/globals.ts @@ -259,7 +259,7 @@ export function time(f: () => void): Promise { } /** - * Sets the backend (cpu, webgl, etc) responsible for creating tensors and + * Sets the backend (cpu, webgl, wasm, etc) responsible for creating tensors and * executing operations on those tensors. Returns a promise that resolves * to a boolean if the backend initialization was successful. * @@ -268,8 +268,8 @@ export function time(f: () => void): Promise { * same type as the previous one. * * @param backendName The name of the backend. Currently supports - * `'webgl'|'cpu'` in the browser, and `'tensorflow'` under node.js - * (requires tfjs-node). + * `'webgl'|'cpu'` in the browser, `'tensorflow'` under node.js + * (requires tfjs-node), and `'wasm'` (requires tfjs-backend-wasm). */ /** @doc {heading: 'Backends'} */ export function setBackend(backendName: string): Promise {