mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-14 12:14:36 +01:00
TensorFlow 2 preview is now has tf.__version__ >= "2.0"
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
"\n",
|
||||
"# TensorFlow ≥2.0-preview is required\n",
|
||||
"import tensorflow as tf\n",
|
||||
"assert hasattr(tf.compat, \"v1\")\n",
|
||||
"assert tf.__version__ >= \"2.0\"\n",
|
||||
"\n",
|
||||
"# Common imports\n",
|
||||
"import numpy as np\n",
|
||||
|
||||
Reference in New Issue
Block a user