@tensorflow/tfjs-node
Advanced tools
Comparing version 1.1.2 to 1.2.1
/** @license See the LICENSE file. */ | ||
declare const version = "1.1.2"; | ||
declare const version = "1.2.1"; | ||
export { version }; |
@@ -5,3 +5,3 @@ "use strict"; | ||
// This code is auto-generated, do not modify this file! | ||
var version = '1.1.2'; | ||
var version = '1.2.1'; | ||
exports.version = version; |
{ | ||
"name": "@tensorflow/tfjs-node", | ||
"version": "1.1.2", | ||
"version": "1.2.1", | ||
"main": "dist/index.js", | ||
@@ -17,2 +17,3 @@ "types": "dist/index.d.ts", | ||
"build-npm": "./scripts/build-npm.sh", | ||
"build-npm-gpu": "./scripts/build-npm-gpu.sh", | ||
"clean-deps": "rm -rf deps", | ||
@@ -49,3 +50,3 @@ "coverage": "nyc ts-node src/run_tests.ts", | ||
"dependencies": { | ||
"@tensorflow/tfjs": "~1.1.2", | ||
"@tensorflow/tfjs": "~1.2.1", | ||
"adm-zip": "^0.4.11", | ||
@@ -58,2 +59,2 @@ "bindings": "~1.3.0", | ||
} | ||
} | ||
} |
# TensorFlow backend for TensorFlow.js via Node.js | ||
This repository provides native TensorFlow execution in backend JavaScript applications under the Node.js runtime, | ||
accelerated by the TensorFlow C binary under the hood. It provides the same API as [TensorFlow.js](https://js.tensorflow.org/api/latest/). | ||
This package will work on Linux, Windows, and Mac platforms where TensorFlow is supported. | ||
## Installing | ||
@@ -8,5 +12,5 @@ | ||
- Linux CPU (Ubuntu 14.04 or higher) | ||
- Linux GPU (Ubuntu 14.04 or higher and Cuda 9.0 w/ CUDNN v7) ([see installation instructions](https://www.tensorflow.org/install/install_linux)) | ||
- Linux GPU (Ubuntu 14.04 or higher and Cuda 10.0 w/ CUDNN v7) ([see installation instructions](https://www.tensorflow.org/install/gpu#software_requirements)) | ||
- Windows CPU (Win 7 or higher) | ||
- Windows GPU (Win 7 or higher and Cuda 9.0 w/ CUDNN v7) ([see installation instructions](https://www.tensorflow.org/install/install_windows)) | ||
- Windows GPU (Win 7 or higher and Cuda 10.0 w/ CUDNN v7) ([see installation instructions](https://www.tensorflow.org/install/gpu#windows_setup)) | ||
@@ -13,0 +17,0 @@ *Other Linux variants might also work but this project matches [core TensorFlow installation requirements](https://www.tensorflow.org/install/install_linux).* |
@@ -52,5 +52,11 @@ /** | ||
try { | ||
await symlink(depsLibTensorFlowPath, destLibPath); | ||
await symlink( | ||
path.relative(path.dirname(destLibPath), depsLibTensorFlowPath), | ||
destLibPath); | ||
if (os.platform() !== 'win32') { | ||
await symlink(depsLibTensorFlowFrameworkPath, destFrameworkLibPath); | ||
await symlink( | ||
path.relative( | ||
path.dirname(destFrameworkLibPath), | ||
depsLibTensorFlowFrameworkPath), | ||
destFrameworkLibPath); | ||
} | ||
@@ -57,0 +63,0 @@ } catch (e) { |
@@ -53,3 +53,3 @@ /** | ||
const request = https.get(uri, response => { | ||
const request = https.get(options, response => { | ||
const bar = new ProgressBar('[:bar] :rate/bps :percent :etas', { | ||
@@ -56,0 +56,0 @@ complete: '=', |
/** @license See the LICENSE file. */ | ||
// This code is auto-generated, do not modify this file! | ||
const version = '1.1.2'; | ||
const version = '1.2.1'; | ||
export {version}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1162826
118
9063
93
6
+ Added@tensorflow/tfjs@1.2.11(transitive)
+ Added@tensorflow/tfjs-converter@1.2.11(transitive)
+ Added@tensorflow/tfjs-core@1.2.11(transitive)
+ Added@tensorflow/tfjs-data@1.2.11(transitive)
+ Added@tensorflow/tfjs-layers@1.2.11(transitive)
+ Added@types/offscreencanvas@2019.3.0(transitive)
- Removed@rollup/rollup-android-arm-eabi@4.28.0(transitive)
- Removed@rollup/rollup-android-arm64@4.28.0(transitive)
- Removed@rollup/rollup-darwin-arm64@4.28.0(transitive)
- Removed@rollup/rollup-darwin-x64@4.28.0(transitive)
- Removed@rollup/rollup-freebsd-arm64@4.28.0(transitive)
- Removed@rollup/rollup-freebsd-x64@4.28.0(transitive)
- Removed@rollup/rollup-linux-arm-gnueabihf@4.28.0(transitive)
- Removed@rollup/rollup-linux-arm-musleabihf@4.28.0(transitive)
- Removed@rollup/rollup-linux-arm64-gnu@4.28.0(transitive)
- Removed@rollup/rollup-linux-arm64-musl@4.28.0(transitive)
- Removed@rollup/rollup-linux-powerpc64le-gnu@4.28.0(transitive)
- Removed@rollup/rollup-linux-riscv64-gnu@4.28.0(transitive)
- Removed@rollup/rollup-linux-s390x-gnu@4.28.0(transitive)
- Removed@rollup/rollup-linux-x64-gnu@4.28.0(transitive)
- Removed@rollup/rollup-linux-x64-musl@4.28.0(transitive)
- Removed@rollup/rollup-win32-arm64-msvc@4.28.0(transitive)
- Removed@rollup/rollup-win32-ia32-msvc@4.28.0(transitive)
- Removed@rollup/rollup-win32-x64-msvc@4.28.0(transitive)
- Removed@tensorflow/tfjs@1.1.2(transitive)
- Removed@tensorflow/tfjs-converter@1.1.2(transitive)
- Removed@tensorflow/tfjs-core@1.1.2(transitive)
- Removed@tensorflow/tfjs-data@1.1.2(transitive)
- Removed@tensorflow/tfjs-layers@1.1.2(transitive)
- Removed@types/estree@1.0.6(transitive)
- Removedfsevents@2.3.3(transitive)
- Removedis-wsl@1.1.0(transitive)
- Removedopn@5.5.0(transitive)
- Removedrollup@4.28.0(transitive)
- Removedrollup-plugin-visualizer@1.1.1(transitive)
- Removedsource-map@0.7.4(transitive)
- Removedtypeface-oswald@0.0.54(transitive)
Updated@tensorflow/tfjs@~1.2.1