pytorch 中LSTM的输出值

文章目录 1. 官方手册 2. output, h_n, c_n 之间的关系 3. 代码 1. 官方手册 2. output, h_n, c_n 之间的关系 首先,Pytorch中的LSTM有三个输出 output, hn, cn。python 能够把hn理解为当前时刻,LSTM层的输出结果,而cn是记忆单元中的值,output则是包括当前时刻以及以前时刻全部hn的输出值web 在只有单时间步的时
相关文章
相关标签/搜索