i just looked up and saw that torch.cat combines multiple tensor’s. so, in the code,
combined = torch.cat((input, hidden), 1)
this means that the combined is input and hidden layer’s combined right. so,
self.i2h is from input to hidden layer and self.i2o is the output of combined to the next layer? so, in a way, he made a single tensor for the all the time steps. Is my understanding correct?