OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Developer Tools & SDKs

Node Tensorflow

Node Tensorflow is a JavaScript library that exposes TensorFlow C API operations to Node.js through interfaces for Tensors, Graphs and Sessions. It lets applications load serialized graphs, run operations, provide tensor inputs and retrieve outputs.

Independent OpenViST project profile, based on linked sources.

Node Tensorflow — Low-level TensorFlow graph, tensor and session work from Node.js
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when a Node.js application needs TensorFlow graph execution, especially when model-building and training are handled separately through TensorFlow’s Python interface.

Who it is for

  • Node.js developers integrating TensorFlow graph execution into JavaScript or TypeScript applications.
  • Teams that build or train TensorFlow graphs in Python and want to consume them from a Node.js runtime.

Documented uses

  • Load a serialized TensorFlow graph in a Node.js application.
  • Run graph operations through a TensorFlow session and retrieve outputs.
  • Feed typed tensor values to graph placeholders and fetch results.
Before you choose

Requirements & limits

  • The README’s documented examples use the low-level Graph, Tensor and Session interfaces.
  • The README describes TensorFlow CPU 1.4.1 binaries as the default and provides environment-variable options for selecting a build or supplying custom libraries.
  • The README lists Windows support and a higher-level saved-model interface as planned rather than describing them as available features.
  • The repository lists an Apache-2.0 license.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Load and run a saved TensorFlow graph from Node.js

Use the documented low-level interface to execute an operation in a serialized graph and retrieve its tensor result.

Before you start

  • The package and TensorFlow binaries installed.
  • A serialized TensorFlow GraphDef file with the operation to run.

Steps

  1. Create a graph file using TensorFlow’s Python interface and save it as a GraphDef protocol buffer.

  2. In Node.js, load the file with tf.graph(...) and create a session with graph.createSession().

  3. Call session.run(...) with the desired output operation name and read the returned tensor’s value.

Expected outcome

The Node.js application retrieves the selected graph operation’s output as a Tensor.

Guide limitations

  • The documented example uses the low-level Graph and Session interface; the README describes a high-level saved-model API as planned.
  • The README’s support statement is TensorFlow 1.4+.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
8 November 2026
Original website title
nikhilk/node-tensorflow · Official homepage title · retained in its source language