Conditional GAN assignment not being compiled

In spite of passing all the cases, the grader shows :

Cell #7. Can’t compile the student’s code. Error: RuntimeError(“Expected object of scalar type Long but got scalar type Float for sequence element 1 in sequence argument at position #1 ‘tensors’”,)

Can anybody please help where I am going wrong ?

Hi, Kanadsen!
Welcome to the community :partying_face:.
Since this assignment belongs to week 4, I have modified the tags.
Also, regarding this issue, please go through this thread - 289318
Hope you get the idea. If not feel free to post your queries.
Regards,
Nithin