diff --git a/keras/layers/recurrent.py b/keras/layers/recurrent.py index 90aa3c4ec..a27bc9b1a 100644 --- a/keras/layers/recurrent.py +++ b/keras/layers/recurrent.py @@ -73,7 +73,7 @@ class Recurrent(MaskedLayer): To enable statefulness: - specify `stateful=True` in the layer constructor. - specify a fixed batch size for your model, by passing - a `batch_input_size=(...)` to the first layer in your model. + a `batch_input_shape=(...)` to the first layer in your model. This is the expected shape of your inputs *including the batch size*. It should be a tuple of integers, e.g. `(32, 10, 100)`.