I am not quite sure how to pass my input as [batch_size, nb_features] as I have a time-series of 500 observations, with 4 variables - with 4 of these series in a batch. (These parameters can change as my project progresses.)
How would i pass [batch_size, nb_features] to the linear input layer and how should the linear layer be defined? Also, what is nb_features in this case?
I am currently passing this:
# input_for_linear has the shape [nr_of_observations, batch_size, in_features]
input_for_linear.view(-1, batch_size * in_features)       

Thank you for your help.