Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

What is TensorFlow and What is New in it?

DZone's Guide to

What is TensorFlow and What is New in it?

Read this article in order to learn more about TensorFlow and to view a tutorial on how to use it in your project.

· AI Zone ·
Free Resource

Insight for I&O leaders on deploying AIOps platforms to enhance performance monitoring today. Read the Guide.

TensorFlow Tutorial

Objective: Today in this TensorFlow Tutorial, we’ll be learning what TensorFlow is, where it is used, its different features, Tensorflow applications, latest release along with its advantages and disadvantages, and how to use it in your project.

Tensorflow Tutorial | What is Tensorflow

TensorFlow Tutorial | What is TensorFlow

History of TensorFlow

DistBelief, which is what TensorFlow was called before it was upgraded, was built in 2011 as a proprietary system based on deep learning neural networks. The source code of DistBelief was modified and made into a much better application based library, and in 2015, came to be known as tensorflow.

What is TensorFlow?

TensorFlow is a powerful data flow oriented machine learning library created by the Brain Team of Google and made open source in 2015. It is designed to be easy to use and widely applicable on both numeric and neural network oriented problems as well as other domains.

Basically, TensorFlow is a low-level toolkit for doing complicated math, and it targets researchers who know what they’re doing to build experimental learning architectures to play around with them and to turn them into running software.

It can be thought of as a programming system in which you represent computations as graphs. Nodes in the graph represent math operations, and the edges represent multidimensional data arrays (tensors) communicated between them.

Latest Release

The latest release of TensorFlow is 1.7.0 and is available on www.tensorflow.org. It has been designed with deep learning in mind, but it is applicable to a much wider range of problems.

About Tensors

Now, as the name suggests, it provides primitives for defining functions on tensors and automatically computing their derivatives.

Tensors are higher dimensional arrays which are used in computer programming to represent a multitude of data in the form of numbers. There are other n-d array libraries available on the internet, like Numpy, but TensorFlow stands apart from them as it offers methods to create tensor functions and automatically compute derivatives.

Tensorflow Tutorial

TensorFlow Tutorial

Other Uses

You can build other machine learning algorithms on it as well such as decision trees or k-Nearest Neighbors. Given below is an ecosystem of TensorFlow:

Tensorflow Tutorial - Tensorflow Ecosystem

TensorFlow Tutorial — TensorFlow Ecosystem

As can be seen from the above representation, TensorFlow integrates well and has dependencies that include GPU processing, python and Cpp and you can use it integrated with container softwares like docker as well.

TensorBoard

TensorBoard, a suit of visualizing tools, is an easy solution to TensorFlow, offered by the creators, that lets you visualize the graphs and plot quantitative metrics about the graph with additional data like images to pass through it.

mnist_tensorboard - Tensorflow Tutorial

mnist_tensorboard – TensorFlow Tutorial

Operation

TensorFlow runs on a variety of platforms and the installation is Linux-only and more tedious than CPU-only installation. It can be installed using pip or using conda environment. The applications go beyond deep learning to support other forms of machine learning like reinforcement learning, which takes you into goal-oriented tasks like winning video games or helping a robot navigate an uneven landscape.

TensorFlow Applications

There are umpteen applications of machine learning and TensorFlow allows you to explore the majority of them including sentiment analysis, google translate, text summarization and the one for which it is quite famous for, image recognition, which is used by major companies all over the world, including Airbnb, eBay, Dropbox, Snapchat, Twitter, Uber, SAP, Qualcomm, IBM, Intel, and of course, Google, Facebook, Instagram, and even Amazon for various purposes.

TensorFlow Features

TensorGlow has APIs for Matlab, and C++ and has a wide language support. With each passing day, researchers are working on making it better, and recently, in the latest TensorFlow Summit, tensorflow.js, a javascript library for training and deploying machine learning models, has been introduced, and an open-source browser integrated platform is available for use at playground.tensorflow.org where you can see the real-time changes that occur while changing the hyperparameters.

TensorFlow Advantages

  • TensorFlow has a responsive construct as you can easily visualize each and every part of the graph.
  • It has platform flexibility, meaning it is modular and some parts of it can be standalone while the others coalesced.
  • It is easily trainable on CPU as well as GPU for distributed computing.
  • It has auto differentiation capabilities, which benefit gradient based machine learning algorithms, meaning you can compute derivatives of values with respect to other values, which results in a graph extension.
  • It has advanced support for threads, asynchronous computation, and queues.
  • It is customizable and open source.

TensorFlow Limitations

  • Has GPU memory conflicts with Theano if imported in the same scope.
  • No support for OpenCL
  • Requires prior knowledge of advanced calculus and linear algebra along with a pretty good understanding of machine learning.

Conclusion

TensorFlow is a great library that can be used for numerical and graphical computation of data in creating deep learning networks and is the most widely used library for various applications like Google Search, Google Translate, Google Photos and many more. There are numerous and amazing things that people have done using machine learning, some of which include applications relating to health care, recommendation engines for movies, music, personalized ads, and social media sentiment mining to name a few. With these advancements in machine learning and artificial intelligence that seem mind-boggling, TensorFlow is tool that is helping to achieve these goals.

TrueSight is an AIOps platform, powered by machine learning and analytics, that elevates IT operations to address multi-cloud complexity and the speed of digital transformation.

Topics:
tensorflow ,tensorflow free tutorial ,tensorflow lite ,artificial intelligence ,ai

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}