Commit Graph

3 Commits

Author SHA1 Message Date
Na Li 69dfce1f98
Update License (#3507)
DOC
DOC
* Update license.

* Update license.

* Update license.
2020-06-24 17:37:02 -07:00
Kangyi Zhang d808350bd4
[node] Add prep-gpu for windows system (#2334)
DEV
* Add prep-gpu for windows

* ensure cpu/gpu

* add license
2019-11-07 11:20:06 -08:00
Nikhil Thorat 4faed8a04c
Create a tfjs-node-gpu directory. (#1925)
Each of the following get copied during "prepare" phase, which is on local NPM install (but not when a dependent package installs): https://docs.npmjs.com/misc/scripts

- tfjs-node/src => tfjs-node-gpu/src
- tfjs-node/binding => tfjs-node-gpu/binding
- tfjs-node/scripts => tfjs-node-gpu/scripts
- tfjs-node/binding.gyp => tfjs-node-gpu/binding.gyp

We do this with a copy because symlinks have the incorrect local directory structure.

This PR also fixes a bug where the node backend file caches the backend (this is incorrect behavior because it may switch out during unit tests or if there are accidentally 2 copies of tfjs-node as a dependency).

DEV
2019-09-11 11:43:38 -04:00