MITB Banner

TensorFlow 2.0 Is More Powerful And Comes Up With Better APIs

Share

Img Src: TensorFlow Dev Summit 2018

The recently held TensorFlow Developer Summit (Dev Summit 2019) may prove to be one of the biggest events for Google as the company is trying to majorly improve upon its earlier version of TensorFlow. Having gained popularity as the most popular open source framework for machine learning, TensorFlow has brought updates after a thorough assessment and engagement with its community on the problems that they were facing with the earlier version. A lot of features have been added throughout the year to help it transition and move the deployments from training to deployment.

There were other interesting announcements such as TensorFlow.js for the JavaScript Community, TensorFlow Lite, TensorFlow Extended, TF Privacy and more. The company is looking to bring many more announcement in the two-day summit.

Key Announcements

Created by the Google Brain team, TensorFlow 2.0 Alpha is everything that you were falling short of as a machine learning developer while using the earlier editions of TensorFlow.

As announced at the event, TensorFlow 2.0 has simpler and more intuitive APIs, reduced redundancy, better documentation of resources and more. It includes a large and growing number of datasets along with a lot of resources, tools and documentation to help ML developers get started with it.

To make it easy for the users, they have focused on Keras and combined it with Eager Execution, a platform for experimentation and research with machine learning, which was introduced last year. It will enable the operations to run quickly and faster than ever before. The team decided to stick to Keras and not have two different APIs that had almost the same tasks. Keras is the key in TensorFlow 2.0 and all other APIs such as Slim and Layers APIs have gone away.

TensorFlow 2.0 is also more powerful than ever as it has the power to carry cutting edge research and scale to more than 1 exaflops, which is drastically high than the earlier version. The researchers at the summit mentioned that powerful implementation really needs flexibility and with TensorFlow 2.0 every code, for instance, Python command is executed immediately, thereby giving the flexibility to write the code in a way that researchers want and are comfortable with.

Talking of ease of execution of coding, the new version will also have concise error messages, thereby making it easy for researchers to understand the issue and debug faster to quickly iterate and progress with the models.

One of the biggest developments was the introduction of fewer but high-level APIs. TensorFlow 2.0’s highly level APIs will make it easy for researchers to use it. It also provides easy conversion of graphs so that researchers can convert their work into graphs as and when they need it.

In a nutshell, these are some of the important developments around TensorFlow 2.0:

  • Simpler and intuitive APIs
  • Removed duplicate functionality
  • Consolidated and organised the API
  • API looks and feels consistent
  • Inheritable interfaces for variables, checkpoints, layers
  • Tf datasets have high-performance flexible input pipelines
  • Reduced redundancy.
  • Better documentation of resources
  • Powerful than ever before
  • Flexibility and faster execution of codes
  • Improved core performance, which as improved six times on training speed and three times on inference speedup
  • TensorFlow 2.0 will rely on tf.keras as its central high-level APIs to simplify the use of the framework

Our Views

With TensorFlow 2.0 the aim of the Google team is to make it easier for ML developers and researchers to develop models and change the world with machine learning.

While the developers have been anticipating its release since July 2018, there were high hopes that the new release will encourage eager execution and high-level APIs, which they have stood up to. There was also anticipation on details such as it will support more platforms and languages, while ensuring less duplication, which also has been aptly addressed by the TensorFlow 2.0.

Share
Picture of Srishti Deoras

Srishti Deoras

Srishti currently works as Associate Editor at Analytics India Magazine. When not covering the analytics news, editing and writing articles, she could be found reading or capturing thoughts into pictures.
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

Subscribe to Our Newsletter

The Belamy, our weekly Newsletter is a rage. Just enter your email below.