Since TensorFlow 2 has only been released very recently, most of the projects that are available online are still built for TensorFlow 1. While this first version was already packed with useful features, such as AutoGraph and the Keras API, it is recommended that you migrate to the latest version of TensorFlow so as to avoid any technical debt. Thankfully, TensorFlow 2 comes with an automatic migration tool that is able to convert most projects to its latest version. It requires little effort and outputs functional code. However, migrating to idiomatic TensorFlow 2 code requires some diligence and knowledge of both versions. In this section, we will introduce the migration tool and compare TensorFlow ...
Get Hands-On Computer Vision with TensorFlow 2 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.