Hey, tried the “easy way”. This is what I get:
_, (last_states_packed, _) = self.rnn(packed_seq, hidden)  # get utterance rep
ValueError: need more than 1 value to unpack

Where self.rnn is:
self.rnn = nn.GRU(input_size, hidden_size, n_layers, batch_first=True) 

Am I doing something wrong?