Okay, I get what you mean, it’s about the input and not about the weight, but



 torcheror:

hidden = net.init_hidden(batch_size)


would initialize the input state to all zeros, isn’t it ?
So, shouldn’t hidden rather be equal to previous batch’s hidden state ?