-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
mediumLabel for medium docathon tasksLabel for medium docathon tasksmodule: docsRelated to our documentation, both in docs/ and docblocksRelated to our documentation, both in docs/ and docblockstriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
Add docstrings on the following lines. Follow these docstring guidelines. A docstring should have:
- A short one-sentence description in imperative mode.
- A longer description.
- A list of associated Args.
- A return value (for functions)
- An example
Follow the existing patterns in the file you are editing. After adding the docstring, run:
lintrunner -a
- File:
./torch/_refs/special/__init__.py
, Line: 231 - File:
./torch/masked/_ops.py
, Line: 1479 - File:
./torch/_refs/__init__.py
, Line: 1080 - File:
./torch/_refs/__init__.py
, Line: 1090 - File:
./torch/_refs/__init__.py
, Line: 1098 - File:
./torch/_refs/__init__.py
, Line: 1106
cc @carljparker
Metadata
Metadata
Assignees
Labels
mediumLabel for medium docathon tasksLabel for medium docathon tasksmodule: docsRelated to our documentation, both in docs/ and docblocksRelated to our documentation, both in docs/ and docblockstriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module