Skip to content

Commit

Permalink
Fix incorrect argument name and update description in RNN documentati…
Browse files Browse the repository at this point in the history
…on (#20525)
  • Loading branch information
rameshdange5191 authored Nov 20, 2024
1 parent 4895458 commit 495a570
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions keras/src/layers/rnn/rnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class RNN(Layer):
merging bidirectional RNNs.
Call arguments:
inputs: Input tensor.
sequences: A 3-D tensor with shape `(batch_size, timesteps, features)`.
initial_state: List of initial state tensors to be passed to the first
call of the cell.
mask: Binary tensor of shape `[batch_size, timesteps]`
Expand All @@ -76,9 +76,6 @@ class RNN(Layer):
to the cell when calling it.
This is for use with cells that use dropout.
Input shape:
3-D tensor with shape `(batch_size, timesteps, features)`.
Output shape:
- If `return_state`: a list of tensors. The first tensor is
Expand Down

0 comments on commit 495a570

Please sign in to comment.