From 4c2baded3a6dd201366d4ed70db4dcaee71c4a70 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 24 Apr 2018 15:39:27 -0400 Subject: [PATCH] Rename module tfjs-node => @tensorflow/tfjs-node (#78) --- README.md | 2 +- demo/package.json | 2 +- demo/src/mnist.ts | 2 +- demo/src/mnist_data_demo.ts | 2 +- package.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6f3c3211186..becfb746d00 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ cd demo/ yarn # Link the tfjs-node NPM we published above. -yarn link-local tfjs-node +yarn link-local @tensorflow/tfjs-node # Run the training script. See demo/package.json for this script. yarn mnist diff --git a/demo/package.json b/demo/package.json index ab7d804ad7e..c06eb76fa6c 100644 --- a/demo/package.json +++ b/demo/package.json @@ -19,6 +19,6 @@ }, "dependencies": { "@tensorflow/tfjs-core": "0.8.1", - "tfjs-node": "link:.yalc/tfjs-node" + "@tensorflow/tfjs-node": "link:.yalc/@tensorflow/tfjs-node" } } diff --git a/demo/src/mnist.ts b/demo/src/mnist.ts index f012d39c577..f49fb7bbfad 100644 --- a/demo/src/mnist.ts +++ b/demo/src/mnist.ts @@ -16,7 +16,7 @@ */ import * as tf from '@tensorflow/tfjs-core'; -import {bindTensorFlowBackend} from 'tfjs-node'; +import {bindTensorFlowBackend} from '@tensorflow/tfjs-node'; import {MnistDataset} from './mnist_data'; import {Timer} from './timer'; diff --git a/demo/src/mnist_data_demo.ts b/demo/src/mnist_data_demo.ts index ecca1dfbcb2..cca5d2457e9 100644 --- a/demo/src/mnist_data_demo.ts +++ b/demo/src/mnist_data_demo.ts @@ -16,7 +16,7 @@ */ import * as tf from '@tensorflow/tfjs-core'; -import {bindTensorFlowBackend} from 'tfjs-node'; +import {bindTensorFlowBackend} from '@tensorflow/tfjs-node'; import {MnistDataset} from './mnist_data'; import {Timer} from './timer'; diff --git a/package.json b/package.json index 756b31f8418..f83f6ea66eb 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "tfjs-node", + "name": "@tensorflow/tfjs-node", "version": "0.0.1", "main": "dist/index.js", "types": "dist/index.d.ts",