News

TensorFlow 2.0 Beta Now Available

Three months after the alpha version of TensorFlow 2.0 was released, the developers behind the popular Google Brain-created open source machine learning framework have announced that the beta version is now available.

With this release, the developers highlighted three major updates: the addition of eager execution, the addition of @tf.function (for "graph performance and portability") and support for the Keras API (for "easy model design and training"). Specifically, the release supports Keras features such as distribution strategy (for a wide variety of hardware), model subclassing and simplified execution of the API.

The developers said they've also fixed more than 100 bugs and are continuing to make changes.

They also confirmed that the 2.0 beta supports other TensorFlow modules, including TensorFlow.js, TensorFlow Lite, TensorBoard and TensorFlow Hub.

A full list of the changes can be found in the release notes.

As for what's next: "Between beta and the release candidate (RC) for the final 2.0 version, we will be completing Keras model support on Cloud TPUs and TPU pods, further work on performance, and closing even more issues," the developers stated in their announcement.

To install the beta, current users can use the following code:

>  pip install tensorflow==2.0.0-beta0
TensorFlow is available on GitHub here.

About the Author

Becky Nagel serves as vice president of AI for 1105 Media specializing in developing media, events and training for companies around AI and generative AI technology. She also regularly writes and reports on AI news, and is the founding editor of PureAI.com. She's the author of "ChatGPT Prompt 101 Guide for Business Users" and other popular AI resources with a real-world business perspective. She regularly speaks, writes and develops content around AI, generative AI and other business tech. Find her on X/Twitter @beckynagel.

Featured