What does 'stateful' mode mean for an RNN in frameworks like Keras?
-
A
The model saves weights after every batch
-
B
The hidden state from the end of one batch is used as the initial state of the next batch
-
C
The model stores training data in memory
-
D
Gradients are accumulated across multiple forward passes