Upgrading code manually

As described in the preceding section, there are many limitations on the tf_upgrade.py script. Therefore, instead of running the script, you can also manually upgrade your codes. In this section, we will provide a comprehensive list of all backward-incompatible changes made in TensorFlow 1.x.

For the following cases (and if you don't use the upgrade script), you will have to make manual updates in your code. These suggestions were adapted from the TensorFlow website https://www.tensorflow.org/install/migration.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset