Hello.
I’m trying to do the first assignment, C2_W1_Assignment and I’m running into a problem. For the first exercise, I fill out the code cell, and then go to the next cell to execute model.summary(), and I get the following error:**
**
`NameError Traceback (most recent call last)
in
----> 1 model.summary()
NameError: name ‘model’ is not defined`
When I click on hints, the code is the same. When I run the code on my laptop, it runs as expected.
Your help is appreciated.
model = Sequential( [ tf.keras.Input(shape=(400,)), # specify input size
### START CODE HERE ###
Dense(25, activation='sigmoid'),
Dense(15, activation='sigmoid'),
Dense(1, activation='sigmoid')
### END CODE HERE ###
], name="my_model"
)
Ed