C3_W2_RecSysNN_Assignment Graded Submission Error

Hi - thank you in advance for any help with my issue. On all of the graded code portions of the lab, i am getting the All Tests Passed! message but when i submit for grading, i get an error about indentation in Cell #16 (which i believe is an ungraded cell). Any ideas on what is happening? Thank you!

Check if your code has any closing-parenthesis on a line by itself.

That is correct python syntax (so the unit tests pass), but the grader has a flaw and does not parse your code correctly in that situation.

I did have two closing ‘])’ on separate lines. I moved the ‘])’ to the prior lines to cap off the code but and i am still getting the same error.

I also tried to make the layers code one long line and the error still is occurring.

Any other thoughts? Thank you.

Follow-up for those who find this thread later.

Tip:
Do not change the indentation in cells that you are not required to modify.