thank you for the reply, but I thought before we passed it into rnn we need to flatten it first?
I thought my problem is when I try to fit the data into the model, somehow the configuration also need to pass the hidden for lstm means can’t be just output = model(data) but should be output, hidden = model(data,hidden) and this will make def forward to have 2 param such as def forward(self, input, hidden)?
and because I am new with this, can you explain more about the difference of seq_len and batch_size?