5,337
edits
Line 14: | Line 14: | ||
===Install TF1=== | ===Install TF1=== | ||
Note: You will only need TF1 if working with a TF1 repo. If | Note: You will only need TF1 if working with a TF1 repo. | ||
If migrating your old code, you can install TF2 and use: | |||
* <code>import tensorflow.compat.v1 as tf</code> | * <code>import tensorflow.compat.v1 as tf</code> | ||
* See [https://www.tensorflow.org/guide/migrate TF Guide Migrate] | |||
<pre> | <pre> |