Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions tfjs-backend-wasm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions tfjs-core/src/globals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ export function time(f: () => void): Promise<TimingInfo> {
}

/**
* 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.
*
Expand All @@ -268,8 +268,8 @@ export function time(f: () => void): Promise<TimingInfo> {
* 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<boolean> {
Expand Down