View all newsletters
Receive our newsletter - data, insights and analysis delivered to you

A Sneak Peak at TensorFlow 2.0

"With TensorFlow 2.0, we have an opportunity to clean up and modularize the platform"

By CBR Staff Writer

TensorFlow, the machine learning (ML) platform developed by Google, is about to get a version 2.0 with a slew of new features. With the open source software library used by enterprises from eBay to Intel, SAP to Twitter, many data scientists will be watching closely – and hoping it’s not too buggy!

The open source platform underpins a wide range of applications: TensorFlow’s team cites applications to forecast earthquake aftershocksidentify diseased plants and help  improve customers experience. It’s not hugely easy to use however – and the new release will focus on simplicity, its team said.

This will be music to the ears of many. ML is hard: from moving models to production, to tracking which parameters, code, and data went into each experiment. Many enterprise users have built their own internal platforms (e.g. Facebook, Google and Uber with FBLearner FlowTFX, and Michelangelo respectively) to manage data preparation, model training and deployment.

Read this: Open Source Platform Aims to Democratise “Machine Learning Zoo”

Luckily the TensorFlow team on Monday posted a fairly comprehensive overview of what will be new in the latest major release of the ML platform.

(A public preview is coming “early this year” and after 2.0’s release the team will provide 12 months of security patches to the last 1.x release, they said).

One immediate complaint from those watching though: a strong proprietary GCP focus. It’s a common gripe: as  as San Francisco-based Databricks’ Matei Zaharia puts it in a blog last year: “Typical ML platforms only support a small set of built-in algorithms, or a single ML library, and they are tied to each company’s infrastructure. Users cannot easily leverage new ML libraries, or share their work with a wider community.”

https://twitter.com/marcfawzi/status/1084993751011868672

Content from our partners
How businesses can safeguard themselves on the cyber frontline
How hackers’ tactics are evolving in an increasingly complex landscape
Green for go: Transforming trade in the UK

Tensorflow 2.0: What’s Coming

The mood music from TensorFlow is that interoperability will improve.

Updates will include easy model building with Keras and cleaning up deprecated APIs, while reducing duplication, TensorFlow’s team said.

Keras is a a high-level API for building and training deep learning models. It has implementations for TensorFlow, MXNet, TypeScript, JavaScript, CNTK, Theano, PlaidML, Scala, CoreML, and other libraries.

“With the rapid evolution of ML, the platform has grown enormously and now supports a diverse mix of users with a diverse mix of needs. With TensorFlow 2.0, we have an opportunity to clean up and modularize the platform.”

A major push by the team is on improving compatibility and parity across platforms and components by standardising exchange formats and aligning APIs, they added.

Deployment Three Ways

With TensorFlow 2.0, once you’ve trained and saved your model, you can execute it directly in your application or serve it via three deployment libraries.

These are TensorFlow Serving (a library that allows models to be served over HTTP/REST or gRPC/Protocol Buffers); TensorFlow Lite (which allows users deploy models on Android, iOS and embedded systems like a Raspberry Pi and Edge TPUs and TensorFlow.js (which lets users deploy models JavaScript environments, such as in a web browser or server side through Node.js.)

TensorFlow 2.0 brings several other new additions that allow researchers and advanced users to experiment, using rich extensions like Ragged TensorsTensorFlow ProbabilityTensor2Tensor, and more to be announced, the team said.

To simplify the migration to TensorFlow 2.0 meanwhile, there will be a conversion tool which updates TensorFlow 1.x Python code to use TensorFlow 2.0 compatible APIs, or flags cases where code cannot be converted automatically.

 

Websites in our network
Select and enter your corporate email address Tech Monitor's research, insight and analysis examines the frontiers of digital transformation to help tech leaders navigate the future. Our Changelog newsletter delivers our best work to your inbox every week.
  • CIO
  • CTO
  • CISO
  • CSO
  • CFO
  • CDO
  • CEO
  • Architect Founder
  • MD
  • Director
  • Manager
  • Other
Visit our privacy policy for more information about our services, how New Statesman Media Group may use, process and share your personal data, including information on your rights in respect of your personal data and how you can unsubscribe from future marketing communications. Our services are intended for corporate subscribers and you warrant that the email address submitted is your corporate email address.
THANK YOU