d2l-pytorch
d2l-pytorch copied to clipboard
There's a bug in Ch10's “Implementation_of_Recurrent_Neural_Networks_from_Scratch”。
there is a runtime error when running the 7th code block. But I checked, the device type doesn't conflict each other. What's Wrong?
RuntimeError Traceback (most recent call last)
RuntimeError: legacy constructor for device type: cpu was passed device type: cuda, but device type must be: cpu