TensorFlow is an open source software library for numerical computation using data-flow graphs. It was originally developed by the Google Brain Team within Google’s Machine Intelligence research organization for to make it easier for developers to design, build, and train deep learning models. Python was the first client language supported by TensorFlow and currently supports the most features.
TensorFlow.js is basically the successor of deeplearn.js. The major difference between the two is the TensorFlow.js includes a layers API and imports pre-trained models and can also re-train them. Also, you can work on almost any GPU but it will not be close to the speed you’ll get on CUDA. Tensorflow.js model can be run directly from the browser without invoking any extra files and can be used like any other CDN (Content Delivery Network) like Font Awesome or JQuery.
To learn more about TensorFlow.js visit the homepage https://js.tensorflow.org/