C4W2A2 Exercise 2

Do you have any idea why my alpaca_model test failed as below:

`Test failed
Expected value

[‘Dense’, (None, 1), 1281, ‘linear’]

does not match the input value:

[‘TensorFlowOpLayer’, [(None, 1280)], 0]`

It would seem the last layer in your model isn’t a Dense() layer with one unit.

1 Like

Thank you so much! Dense layer solve the issue.