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 ?