Cosine_Stateful_Lstm icon indicating copy to clipboard operation
Cosine_Stateful_Lstm copied to clipboard

为什么要使用model.reset_state()重置模型中所有层的状态

Open SuMarsss opened this issue 5 years ago • 1 comments

既然想要上一个序列样本LSTM的状态传递到下一个序列样本,为什么还要使用model.reset_state()重置模型中所有层的状态,这样岂不是又变成了stateless?

SuMarsss avatar Sep 11 '19 09:09 SuMarsss

既然想要上一个序列样本LSTM的状态传递到下一个序列样本,为什么还要使用model.reset_state()重置模型中所有层的状态,这样岂不是又变成了stateless?

因为你没有理解

yangwohenmai avatar Mar 16 '21 05:03 yangwohenmai