@tensorflow/tfjs-backend-wasm

v3.20.0
This package adds a WebAssembly backend to TensorFlow.js. It currently supports the following models from our [models](https://github.com/tensorflow/tfjs-models) repo: - BlazeFace - BodyPix - CocoSSD - Face landmarks detection - HandPose - KNN classifier

test

bazel test -c dbg :tests

build

bazel build -c opt :tfjs-backend-wasm_pkg

clean

bazel clean --expunge

cpplint

./scripts/cpplint.js

test-cc

bazel test -c dbg //tfjs-backend-wasm/src/cc:cc_tests --test_output=all

build-ci

yarn build-dev

build-dev

bazel build -c dbg :tfjs-backend-wasm_pkg

build-npm

yarn build

test-node

bazel test -c dbg :tfjs-backend-wasm_node_test

debug-node

bazel run --config=debug -c dbg :tfjs-backend-wasm_node_test

publish-npm

bazel run -c opt :tfjs-backend-wasm_pkg.publish

test-browser

bazel test -c dbg :tfjs-backend-wasm_test

debug-browser

bazel run -c dbg :tfjs-backend-wasm_test

test-bundle-size

./scripts/test-bundle-size.js
npm i @tensorflow/[email protected]

Metadata

Downloads