Pytorch Exercise Error

Hi ,
In the exercise of PyTorch module while trying deeper NN, I am getting this error :

> RuntimeError: Expected object of scalar type Float but got scalar type Double for argument #2 'mat1' in call to _th_addmm

Please resolve : Notebook Link (Section name : Exercise)

Hi @Anand_Deep,
On the line where the error is arising, please convert that particular matrix to float. Refer this thread for how to do so.