PyTorch-Tutorial icon indicating copy to clipboard operation
PyTorch-Tutorial copied to clipboard

why LSTM don't transmit hidden_state, but RNN can?

Open huangJC0429 opened this issue 5 years ago • 0 comments

In RNNclassification code, Why LSTM do not transmit hidden_state r_out, (h_n, h_c) = self.rnn(x, None)? Can i play the same operation like RNNregression to transmit hidden_state?

huangJC0429 avatar Aug 22 '20 03:08 huangJC0429