Skip to content

Commit 007f5e7

Browse files
Fix typos in simple_rnn (#20636)
I observed a few typos in simple_rnn
1 parent 38a714c commit 007f5e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

keras/src/layers/rnn/simple_rnn.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,12 +256,12 @@ class SimpleRNN(RNN):
256256
If `True`, process the input sequence backwards and return the
257257
reversed sequence.
258258
stateful: Boolean (default: `False`). If `True`, the last state
259-
for each sample at index i in a batch will be used as initial
260-
state for the sample of index i in the following batch.
259+
for each sample at index i in a batch will be used as the
260+
initial state for the sample of index i in the following batch.
261261
unroll: Boolean (default: `False`).
262262
If `True`, the network will be unrolled,
263263
else a symbolic loop will be used.
264-
Unrolling can speed-up a RNN,
264+
Unrolling can speed-up an RNN,
265265
although it tends to be more memory-intensive.
266266
Unrolling is only suitable for short sequences.
267267

0 commit comments

Comments
 (0)