Please check it and make corrections

{moderator edit - solution code removed}

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

This is an instance of the problem described on this thread and also on this one.

2 Likes