@tensorflow/tfjs-node
v4.16.0lint
tslint -p . -t verbose
prep
cd node_modules/@tensorflow/tfjs-core && yarn && yarn build
test
yarn && yarn build-deps && yarn build && ts-node --transpile-only --skip-ignore -P tsconfig.test.json src/run_tests.ts
build
tsc && npx mkdirp dist/proto && cp src/proto/api_pb.js dist/proto/api_pb.js
format
clang-format -i -style=Google binding/*.cc binding/*.h
install
node scripts/install.js
test-ci
ts-node --transpile-only --skip-ignore -P tsconfig.test.json src/run_tests.ts
build-ci
tsc && npx mkdirp dist/proto && cp src/proto/api_pb.js dist/proto/api_pb.js
coverage
nyc yarn ts-node -P tsconfig.test.json src/run_tests.ts
test-dev
tsc && ts-node --transpile-only --skip-ignore -P tsconfig.test.json src/run_tests.ts
build-npm
./scripts/build-npm.sh
build-deps
yarn build-link-package && yarn build-union
clean-deps
rm -rf deps && rm -rf lib
enable-gpu
node scripts/install.js gpu download && yarn && yarn build-addon-from-source
link-local
yalc link
build-union
cd ../tfjs && yarn && yarn build
publish-npm
yarn build-and-upload-addon publish && npm publish
build-deps-ci
yarn build-link-package && yarn build-union-ci
publish-local
yarn prep && yalc push
build-union-ci
cd ../tfjs && yarn && yarn build-ci
build-link-package
cd ../link-package && yarn build-deps-for tfjs-node
install-from-source
yarn clean-deps && yarn && yarn build-addon-from-source
upload-windows-addon
./scripts/build-and-upload-windows-addon.bat
build-and-upload-addon
./scripts/build-and-upload-addon.sh
build-addon-from-source
node-pre-gyp install --build-from-source
ensure-cpu-gpu-packages-align
node scripts/ensure-cpu-gpu-packages-align.js
npm i @tensorflow/[email protected]
Metadata
- Apache-2.0
- >=8.11.0
- Unknown
- released 1/11/2024