Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tensorflow/tfjs-node

Package Overview
Dependencies
Maintainers
11
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tensorflow/tfjs-node - npm Package Compare versions

Comparing version 1.1.2 to 1.2.1

binding.gyp-e

2

dist/version.d.ts
/** @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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc