Can't compile the student's code. Error: TypeError("unsupported operand type(s) for *=: 'NoneType' and 'NoneType'")

All of my code is working fine and passed all tests in jupyter

but autograder showing this error and only grades 0

please help

here’s my code

C5_W4_A1_Transformer_Subclass_1.ipynb (96.8 KB)

What error do you get from the grader?

Note that if you modified the file name to change ‘_v1’ into ‘_1’, the grader won’t be able to find your notebook.