Hello, for the first lab, I have a name error saying that the name “keras” is not defined for this construction:
import tensorflow as tf
model = tf.keras.Sequential([keras.layers.Dense(units = 1, input_shape = [1])])
Hello, for the first lab, I have a name error saying that the name “keras” is not defined for this construction:
import tensorflow as tf
model = tf.keras.Sequential([keras.layers.Dense(units = 1, input_shape = [1])])
Do tf.keras.layers
It worked. Thanks a lot!