Google Debuts TensorFlow 2.0 Alpha

Synced
Synced
Mar 8, 2019 · 4 min read
Image for post
Image for post

TensorFlow is the world’s most popular open source machine learning library. Since its initial release in 2015, the Google Brain product has been downloaded over 41 million times. At this week’s 2019 TensorFlow Dev Summit, Google announced a major upgrade on the framework, the TensorFlow 2.0 Alpha version. TensorFlow 2.0 focuses on simplicity and ease of use, with updates like eager execution, intuitive higher-level APIs, and flexible model building on any platform.

Image for post
Image for post

Last August Google Brain Software Engineer Martin Wicke posted in Google Groups that TensorFlow 2.0 would be a major milestone, which led many in the machine learning community to expect the following upgrades:

  • “Eager execution” through alignment of model expectations and practice
  • Enhanced compatibility with platforms and languages
  • Removal of deprecated APIs to reduce duplication

According to the TensorFlow 2.0 official guide, Google has delivered on the expectations. The new release removes redundant APIs, makes APIs more consistent (Unified RNNs, Unified Optimizers), and better integrates Python runtime with Eager execution.

Image for post
Image for post

Here are the major changes:

  • API Cleanup: In TensorFlow 2.0, many APIs are either gone or have been moved to other sub-packages. Users can use the v2 upgrade script to apply renames automatically.
  • Eager Execution: While TensorFlow 1.X users needed to manually stitch together an abstract syntax tree, TensorFlow 2.0 executes eagerly: “Graphs and sessions should feel like implementation details.”
  • No more globals: TensorFlow 2.0 users need no longer rely heavily on implicitly global namespaces.
  • A session.run () call is almost like a function call, as shown in the example below:
Image for post
Image for post

The overarching goal of TensorFlow 2.0 Alpha is to lower the tech barrier for machine learning, enabling researchers with limited experience or expertise to build models efficiently. For example, easy model building is enabled with Keras, which provides Sequential, Functional, and Subclassing as model-building APIs to enable developers to use the right level of abstraction.

Google is also partnering with online learning platforms such as Fast.ai, Udacity, and Coursera to offer a range of courses, specializations, and degrees for TensorFlow learners. Andrew Ng announced today that Deeplearning.ai ‘s newest specialization course, TensorFlow: From Basics to Mastery, will teach useful TensorFlow practices.

Image for post
Image for post

Also announced this week was TensorFlow.js 1.0 for the Javascript community; TF Federated, an open-source framework for machine leaning and other computations on decentralized data; and TF Privacy, a Python-based open source library for fairer and safer training.

There was one more surprise: Google introduced Coral Dev Board, a machine learning platform for building AI products on the edge. The US$149.99 dev board features Edge TPU, a cut-down Google ASIC designed to empower TensorFlow Lite machine learning models and accelerate inference at the edge. Google also released the Coral USB Accelerator for adding the Edge TPU to an existing design, enabling easy integration into any Linux system (including Raspberry Pi boards) over USB 2.0 and 3.0.

TensorFlow is an open source software library for computation developed by the Google Brain team. Its robust machine learning framework has enabled broad usage across many different platforms.


Journalist: Fangyu Cai, Tony Peng| Editor: Michael Sarazen


2018 Fortune Global 500 Public Company AI Adaptivity Report is out!
Purchase a Kindle-formatted report on Amazon.
Apply for Insight Partner Program to get a complimentary full PDF report.


Follow us on Twitter @Synced_Global for daily AI news!


We know you don’t want to miss any stories. Subscribe to our popular Synced Global AI Weekly to get weekly AI updates.

SyncedReview

We produce professional, authoritative, and…

Synced

Written by

Synced

AI Technology & Industry Review — syncedreview.com | Newsletter: http://bit.ly/2IYL6Y2 | Share My Research http://bit.ly/2TrUPMI | Twitter: @Synced_Global

SyncedReview

We produce professional, authoritative, and thought-provoking content relating to artificial intelligence, machine intelligence, emerging technologies and industrial insights.

Synced

Written by

Synced

AI Technology & Industry Review — syncedreview.com | Newsletter: http://bit.ly/2IYL6Y2 | Share My Research http://bit.ly/2TrUPMI | Twitter: @Synced_Global

SyncedReview

We produce professional, authoritative, and thought-provoking content relating to artificial intelligence, machine intelligence, emerging technologies and industrial insights.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store