mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Updated Docstring Guidelines (markdown)
@ -267,6 +267,7 @@ Below is a quick reference of how to use MyST Markdown.
|
||||
| `:func:` | Reference a function | {func}\`my_module.my_function\` |
|
||||
| `:meth:` | Reference a method | {meth}\`MyClass.my_method\` |
|
||||
| `:mod:` | Reference a module | {mod}\`my_module\` |
|
||||
| `:attr:` | Reference an attribute | {attr}\`MyClass.my_attribute\` |
|
||||
|
||||
|
||||
### Python References
|
||||
|
Reference in New Issue
Block a user