Dallonses logo

TensorFlow.js

What is TensorFlow.js?

TensorFlow.js is a library for running machine learning models in JavaScript. That means a model can run directly in a user's browser or on a Node.js server, no Python and no separate ML backend required. It can train new models, fine-tune existing ones, or simply run predictions from a model trained elsewhere.

The interesting part is where the computation happens. With TensorFlow.js, a model can run on the device itself, using the browser's GPU for speed. The data never has to leave the user's machine. That changes what's possible for privacy and latency. A webcam-based gesture demo that responds instantly, with nothing sent to a server, is the canonical example. The image stays on the laptop, the prediction happens locally, the page reacts in real time.

It isn't the tool for everything. Training large models from scratch still belongs on dedicated hardware with the full TensorFlow or PyTorch stack. TensorFlow.js shines when you want to put a trained model in front of users on the web, or run lightweight inference close to where the data lives.

TensorFlow.js at Dallonses

When a project needs machine learning to run in the browser, TensorFlow.js is how we get it there. Real-time interaction, on-device inference, no round trip to a server for every prediction. We've used it where keeping data on the client wasn't a nice-to-have but a requirement.

We're honest about the line. Heavy training and large-scale AI solutions live on the backend, and we build those too. The question we work through with you is where each piece should run. When the answer is the browser, TensorFlow.js lets us deliver machine learning that feels immediate, woven into the web experience rather than bolted on behind an API.

Want machine learning that runs right in the browser? Let's figure out what fits.

Talk to us about AI

Related services


Ready to work together?

Book a meeting
Aymón holding a Tools magazine in front of their facem
Ari working on a laptop outdoors surrounded by plants
Top-down view of a wooden desk with a keyboard, mouse, and headphones
Hand-drawn illustration of a hand snapping fingers
Nico leaning against a water cooler next to a fire extinguishe
Close-up of an open computer with circuit board and components on a wooden desk
Bernat and Andreu collaborating at a desk with monitors and a laptop
Hand-drawn illustration of an open hand waving
Aymón holding a Tools magazine in front of their facem
Ari working on a laptop outdoors surrounded by plants
Top-down view of a wooden desk with a keyboard, mouse, and headphones
Hand-drawn illustration of a hand snapping fingers
Nico leaning against a water cooler next to a fire extinguishe
Close-up of an open computer with circuit board and components on a wooden desk
Bernat and Andreu collaborating at a desk with monitors and a laptop
Hand-drawn illustration of an open hand waving