Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect argument name and update description in RNN documentation #20525

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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