What's the difference between "hidden" and "output" in PyTorch …
https://stackoverflow.com/questions/48302810/whats-the-difference-between-hidden-and-output-in-pytorch-lstm
WebJan 17, 2018 · 5 Answers. Sorted by: 245. I made a diagram. The names follow the PyTorch docs, although I renamed num_layers to w. output comprises all the hidden states in the last layer ("last" depth-wise, not time-wise). (h_n, c_n) comprises the hidden states after the last timestep, t = n, so you could potentially feed them into another LSTM.
DA: 60 PA: 97 MOZ Rank: 14