I’m still not sure to understand the use case completely.
Would you like to get a single output for each sequence you are passing to the model?
If so, you could need to adapt the number of input features in your linear layer to match the output features of your last conv layer (out_channels*seq_length).
Or would you like to get an output of [batch_size, seq_length]?