@tensorflow/tfjs-backend-wasm

v4.21.0-rc.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 --test_output=all

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-dbg

bazel build -c dbg :tfjs-backend-wasm_pkg

test-node

bazel test -c dbg :tfjs-backend-wasm_node_test --test_output=all

publish-npm

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

test-browser

bazel test -c dbg :tfjs-backend-wasm_test --test_output=all

test-node-debug

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

test-bundle-size

./scripts/test-bundle-size.js

test-browser-debug

bazel run -c dbg :tfjs-backend-wasm_test --test_output=all
npm i @tensorflow/[email protected]

Metadata

Downloads