You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new standard for importing Keras is from tensorflow import keras. Most of the guides and examples on keras.io do this, but our symbol imports are all over the place including:
keras.foo()
tf.keras.foo()
tensorflow.keras.foo()
Let's standardize on keras.foo(). Like #1181, we can directly modify both generated and original files with a simple find-and-replace since it would be too much work to regenerate everything. The main caveat is checking that each script has the topline import from tensorflow import keras, which it should!
The text was updated successfully, but these errors were encountered:
The new standard for importing Keras is
from tensorflow import keras
. Most of the guides and examples on keras.io do this, but our symbol imports are all over the place including:Let's standardize on
keras.foo()
. Like #1181, we can directly modify both generated and original files with a simple find-and-replace since it would be too much work to regenerate everything. The main caveat is checking that each script has the topline importfrom tensorflow import keras
, which it should!The text was updated successfully, but these errors were encountered: