@harsha_g thanks, I am trying to understand it all.  I am using this link as a reference https://towardsdatascience.com/pytorch-basics-how-to-train-your-neural-net-intro-to-rnn-cb6ebc594677 22
So are you saying that with many to one, you would take the hidden output and pass it to your linear layer?  This is the output of each of the batches of the last time step.
What then would ula in the above code be used for? When or what are you passing that to?