Skip to content
项目

关于

Node-tensorflow 是用于调用 Google 机器学习库 TensorFlow 的 NodeJS API。

机器学习

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

TensorFlow.js

build status

Node-tensorflow is a NodeJS API for utilizing Google's open-source machine learning library TensorFlow. This project aims to allow more people easy-to-use access to the TensorFlow library inside of NodeJS while still having performance and stability in mind. The project is in early design stage and we appreciate anyone who would like to help!

Contributing

We currently need all help we can get. We are specially looking for people with C++ knowledge! For more information, please join the slack conversation. https://tensor-flow-talk-invite.herokuapp.com/

Get Started

There is a proof of idea of using SWIG interface. A simple test is made for checking the version of Tensorflow.

$ npm run _preinstall
$ npm install
$ npm test

# Tensorflow Version
ok 1 should be equal

1..1
# tests 1
# pass  1

# ok

Current Progress

In our first proposal, we have defined the roadmap of building a Node.js API to utilize the core functions of Tensorflow. In order to control the graph execution from C++, we have to use Python API to build the computation graph and load the graph using C++ Session API. We are currently working on the Tensorflow interface using SWIG first which drives the C++ core API to a Node.js binding. Python API also provides Optimizers, Tensor Transformations, Type Casting, and some other useful features. We will have further discussion once the interface is built.

Roadmap:

  • In progress

C++ core library <-> SWIG <-> Node.js binding <-> Python API <-> End Users

  • Final stage:

C++ core library <-> SWIG <-> Node.js binding <-> Node.js API <-> End Users

Discussion of interface for different languages

探索相关项目

加载中…