Missing definition from Pytorch docs?

I’m reading RNN docs, I can only see hidden layer formula, but not the output:

Comparing to LSTM, all the equations are delineated. Am I missing something?

The hidden state is the output.

1 Like

If that’s the case, then what is the other output shown here?

The output here is all the hidden states generated by the RNN; h_n is the last hidden state.

1 Like

Thanks. I didn’t find the docs extremely clear.