-
Notifications
You must be signed in to change notification settings - Fork 401
[Doc] fix LSTM example import in rnn.LSTMModule #3138
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
Conversation
…P in the example import so the snippet runs without NameError.\n\nRefs: pytorch#3119
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/rl/3138
Note: Links to docs will display an error until the docs builds have been completed. ❌ 6 New Failures, 2 Cancelled Jobs, 16 Unrelated FailuresAs of commit bb07f7c with merge base 2f65671 ( NEW FAILURES - The following jobs have failed:
CANCELLED JOBS - The following jobs were cancelled. Please retry:
FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes a missing import in the LSTM example docstring to ensure the code snippet runs without errors.
- Add
LSTMModule
to the import statement alongsideMLP
in the docstring example
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks!
This PR fixes a minor import issue in the LSTMModule docstring example.
Documentation-only change.
Closes #3119