Course 5 Week 4 Programming assignment

4 test cases have passed but everytime I try to submit the assignment it shows 0/100 and the below error:
“Cell #16. Can’t compile the student’s code. Error: AssertionError(‘Wrong type. Output must be a tensor’)”

Can you please help sir with what’s going wrong?

Hey @sudsho , could you DM your notebook to me so I can take a look ? Thanks.

Hey @sudsho after re-reading your post, I just realised you are submitting after only completing 4 exercises ? Yeah, that won’t work. The grader expects attempted solution of all of the exercises before it can grade properly.