Wesley_Neill:

self.fc = nn.Linear(hidden_size * seq_length, output_size)


I know now why that approach does not seem suitable to me. Here, all output values depend on all input values. That also means that the first output value would depend on the last input value. This means the network can look into the future.
You can still implement it, of course, but it doesn’t seem to fit your prediction task.