MITB Banner

TensorFlow’s JavaScript Library Can Deploy ML Models In The Browser

Share

Good news for all JavaScript fans and programmers! TensorFlow, Google’s open source machine learning library has now been extended to include JavaScript with Tensorflow.js. This library has been created for deploying machine learning models in the browser.

According to their official FAQ section, the Tensorflow.js allows the same JavaScript code to work on both the browser and node.js, while binding to the underlying TensorFlow C implementation in node.

One of the main reasons why Tensorflow.js is fast is because it utilises WebGL, a JavaScript API that allows you to render graphics in browsers using the device’s Graphic Processing Unit (GPU). This speeds up the execution of neural networks, while allowing you to run ML models locally on individual devices without having to access the server, or make trips to and from the backend.

TensorFlow.js is an ecosystem of JavaScript tools for machine learning which reportedly evolved from deeplearn.js. Another update has said that deeplearn.js is now called TensorFlow.js Core. TensorFlow.js also includes a Layers API — a higher-level library for building machine learning models — as well as tools for automatically porting TensorFlow SavedModels and Keras HDF5 models.

A noted online tech website says that TensorFlow.js APIs can be used to build models using their “low-level JavaScript linear algebra library or the higher-level layers API”. The existing models can be retrained using sensor data connected to the browser.

In fact, the TensorFlow or Keras model can be imported into the browser. “Yes! We have two tutorials for importing TensorFlow models. One for the TensorFlow SavedModel format, and one for importing Keras HDF5 models,” said the official release.

PS: The story was written using a keyboard.
Share
Picture of Prajakta Hebbar

Prajakta Hebbar

Prajakta is a Writer/Editor/Social Media diva. Lover of all that is 'quaint', her favourite things include dogs, Starbucks, butter popcorn, Jane Austen novels and neo-noir films. She has previously worked for HuffPost, CNN IBN, The Indian Express and Bose.
Related Posts

CORPORATE TRAINING PROGRAMS ON GENERATIVE AI

Generative AI Skilling for Enterprises

Our customized corporate training program on Generative AI provides a unique opportunity to empower, retain, and advance your talent.

Upcoming Large format Conference

May 30 and 31, 2024 | 📍 Bangalore, India

Download the easiest way to
stay informed

Subscribe to The Belamy: Our Weekly Newsletter

Biggest AI stories, delivered to your inbox every week.

AI Courses & Careers

Become a Certified Generative AI Engineer

AI Forum for India

Our Discord Community for AI Ecosystem, In collaboration with NVIDIA. 

Flagship Events

Rising 2024 | DE&I in Tech Summit

April 4 and 5, 2024 | 📍 Hilton Convention Center, Manyata Tech Park, Bangalore

MachineCon GCC Summit 2024

June 28 2024 | 📍Bangalore, India

MachineCon USA 2024

26 July 2024 | 583 Park Avenue, New York

Cypher India 2024

September 25-27, 2024 | 📍Bangalore, India

Cypher USA 2024

Nov 21-22 2024 | 📍Santa Clara Convention Center, California, USA

Data Engineering Summit 2024

May 30 and 31, 2024 | 📍 Bangalore, India