Hi everyone, am new to pytorch…
What type of problems require the following setup (1 and 2) for a LSTM?
   self.lstm = nn.LSTM(**args)

   hidden = None

1. out, _= self.lstm(x, hidden )

2. out, hidden = self.lstm(x, hidden )

Which ones can be used for classification and one for sequence to sequence between 1 and 2?