From 493307668948e91605f6df18dcf50a1aa195dd17 Mon Sep 17 00:00:00 2001 From: Nikhil Thorat Date: Fri, 20 Dec 2019 09:34:20 -0500 Subject: [PATCH 1/2] [WASM] Update FAQ with link to github issues for feedback. --- tfjs-backend-wasm/README.md | 4 ++++ 1 file changed, 4 insertions(+) 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 From 254dc8d4547fcaace3dc8c56ccf5818e26456903 Mon Sep 17 00:00:00 2001 From: Nikhil Thorat Date: Fri, 20 Dec 2019 10:17:06 -0500 Subject: [PATCH 2/2] save --- tfjs-core/src/globals.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 {