概要
This skill provides comprehensive guidance for writing and updating docstrings within the PyTorch ecosystem, ensuring compliance with internal standards found in torch/_tensor_docs.py and torch/nn/functional.py. It automates the complex formatting required for professional deep learning documentation, including the use of raw strings for LaTeX support, Sphinx/reStructuredText syntax, and cross-referencing to other PyTorch modules. It is an essential tool for framework maintainers and developers contributing to PyTorch-based libraries who need to maintain rigorous, publishable documentation standards.