JavaScript – TensorFlow.js .

By | 05/03/2019

Many people have heard about TensorFlow.
I tried to use it with another programming language, but installation was difficult.
Today I saw that it was implemented on javascript.
I am not very advanced in javascript (thanks to multiple implementations) but I will try to write a simple tutorial.
TensorFlow.js is an open source WebGL-accelerated JavaScript library for machine intelligence. It brings highly performant machine learning building blocks to your fingertips, allowing you to train neural networks in a browser or run pre-trained models in inference mode.
You can use it with script tag or NPM
See the demos webpage.
The default example from GITHUB works well:

The results for Tensor vary , example:[[1.9764308],]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.