Course4, week 2, assignment 2, exercise 2

I have a problem in defining the function of my alpaca_model. I have written the code for alpaca_model as follow, and I encountered an error of difference in the number of layers in test cell. can anyone help?

{moderator edit: code removed}

1 Like

Please do not post your code on the forum. That’s not allowed by the Code of Conduct.

If a mentor needs to see your code, we’ll contact you with instructions.

I’ll edit your message to remove the code, and provide some hints a little bit later.

2 Likes

2 Likes

Thank you so much the problem has been solved . yes I had the mentioned mistake that should be replaced by x

1 Like