Hi, I have implemented a rnn with customized middle and output layers.
When I call loss.backward(), I got the error message in the title.
Can anyone shed a light on the cause ?
I have include the model and train.py in this link below.
https://github.com/ShihanSu/sequence-pytorch