Hello Mentors and fellow classmates I’ve been stuck on this trivial problem for a while now and I have gone through some similar questions here but my code seems to have none of the problems as stated can you please help me
{Moderator’s Edit: Solution Code Removed}
the error is : TypeError Traceback (most recent call last)
in
----> 1 happy_model = happyModel()
2 # Print a summary for each layer
3 for layer in summary(happy_model):
4 print(layer)
5
in happyModel()
30 tfl.Flatten,
31 ## Dense layer with 1 unit for output & ‘sigmoid’ activation
—> 32 tfl.Dense(1, activation = ‘sigmoid’)
33 # YOUR CODE STARTS HERE
34