Cell #8. Can’t compile the student’s code. Error: AssertionError(‘Unexpected type. It should be a Tensor’)

My code passed all the test cases, however, i didn’t pass the assignment. I don’t know what is wrong. I read this thread but it didn’ t help me. I updated to the latest notebook, still the issue persists. It also shows permission denied at the top of the windows title.
‘permission denied: W3A1/Neural_machine_translation_v4a.ipynb’, anyone can suggest the solution please?

Responded here. Help, C5W3A1 AssertionError('Unexpected type. It should be a Tensor') - #6 by rmwkwok