DEV Community

Yu Fen Lin
Yu Fen Lin

Posted on

What is TensorFlow?

In this post, we are going to see what is TensorFlow, why TensorFlow, and how does it work?

TensorFlow

What is TensorFlow?

“An end-to-end open source machine learning platform.”

Deep learning is a subfield of machine learning. There are many deep learning frameworks out there. This is a brief overview of the most popular and widely used frameworks.

Deep Learning Frameworks
Deep Learning Frameworks(Image Source)

TensorFlow is the most famous deep learning library in the world and a Python-friendly open source library. TensorFlow is a powerful data flow oriented library developed by the Google Brain Team. It is designed to be easy to use and widely applicable to both numeric and neural network oriented problems. It was released under the Apache License 2.0 on November 9, 2015. Google product uses machine learning in all of its products to improve the search engine, translation, image captioning or recommendations. Latest TensorFlow 2.0 was released in October 2019.

Many popular companies such as NVIDIA, Twitter, Snapchat, Uber and more are using TensorFlow for all their major operations and research areas.
TensorFlow is being used in over 70 K+ open source repositories and 780 K+ commits thus far on GitHub.

How TensorFlow works?

TensorFlow is cross-platform. It was built to run on multiple CPUs or GPUs and even mobile operating systems, and it has several wrappers in several languages like Python, C++ or Java.
Given below is an ecosystem of Tensorflow:
an ecosystem of Tensorflow

TensorFlow utilizes dataflow graph for calculations. It describes how data moves through a graph, or a series of processing nodes.
Nodes in the graph represent math operations, and the edges represent multidimensional data arrays (tensors) communicated between them.
The name “TensorFlow” is derived from the operations which neural networks perform on multidimensional data arrays or tensors! It’s literally a flow of tensors.

Alt text of image

TensorBoard: TensorFlow's visualization toolkit

TensorBoard provides the visualization and tooling needed for machine learning experimentation. It lets us visualize the graphs, plot quantitative metrics about the graph with additional data like images to pass through it.

TensorBoard

A Japanese farmer turned programmer used it to detect the best quality cucumber, which only his father and mother can do even with their years of experience.
That's the power of Machine Learning, which is now available to everyone because of TensorFlow.

Install TensorFlow 2

# Current stable release for CPU-only
pip install tensorflow

In the TensorFlow GitHub org, you can find not only TensorFlow itself, but a useful ecosystem of other repos, including models, serving, TensorBoard, Project Magenta, and many more.

Reference:

Top comments (0)