Skip to content

[DOC] Migrate docstrings in models/nn/rnn.py to numpydoc format#2198

Open
sohamjadhav95 wants to merge 2 commits intosktime:mainfrom
sohamjadhav95:doc/numpydoc-rnn
Open

[DOC] Migrate docstrings in models/nn/rnn.py to numpydoc format#2198
sohamjadhav95 wants to merge 2 commits intosktime:mainfrom
sohamjadhav95:doc/numpydoc-rnn

Conversation

@sohamjadhav95
Copy link
Copy Markdown

@sohamjadhav95 sohamjadhav95 commented Mar 16, 2026

Reference Issues/PRs

References #2066 and closes #2196

What does this implement/fix?

Migrates all Google-style (Args: / Returns:) docstrings in pytorch_forecasting/models/nn/rnn.py to numpydoc format (Parameters\n---------- / Returns\n-------), consistent with the ongoing migration in #2083 and #2079.

Files changed

  • pytorch_forecasting/models/nn/rnn.py. 5 docstrings converted

No logic changes. Documentation only.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@81d1554). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2198   +/-   ##
=======================================
  Coverage        ?   86.67%           
=======================================
  Files           ?      166           
  Lines           ?     9756           
  Branches        ?        0           
=======================================
  Hits            ?     8456           
  Misses          ?     1300           
  Partials        ?        0           
Flag Coverage Δ
cpu 86.67% <ø> (?)
pytest 86.67% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Member

@phoeenniixx phoeenniixx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@phoeenniixx phoeenniixx added the documentation Improvements or additions to documentation label Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOC] Migrate docstrings in models/nn/rnn.py to numpydoc format

2 participants