Practice quiz: TensorFlow implementation

The question:
How do you define the second layer of a neural network that has 4 neurons and a sigmoid activation?
I’m not really sure there is “real” correct answer?

Shouldn’t it be:
Dense(units=1, activation=‘sigmoid’)
?

It depends on what “second layer” refers to.

Apparently in this quiz it refers to the hidden layer.
First - Input
Second - Hidden
Third - Output

Omg… I just found it :face_with_peeking_eye:

Question asks about 4 neurons… I missed it somehow and was focusing just on the image and the code above it.

1 Like