@tensorflow/tfjs-node
Advanced tools
Comparing version
/** @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
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
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 6 instances in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 10 instances in 1 package
1162826
0.55%118
2.61%10
-28.57%9063
0.07%93
4.49%6
20%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated