codebase structure documentation to include torchgen (#162261)

📚 The doc update

adding description about torchgen folder in code structure guide

Pull Request resolved: https://github.com/pytorch/pytorch/pull/162261
Approved by: https://github.com/ezyang
This commit is contained in:
Raman Kumar
2025-09-06 02:10:57 +00:00
committed by PyTorch MergeBot
parent 145a3a7bda
commit c3ceca2995

View File

@ -259,6 +259,7 @@ dependencies as well as the nightly binaries into the repo directory.
support for PyTorch. support for PyTorch.
* [tools](tools) - Code generation scripts for the PyTorch library. * [tools](tools) - Code generation scripts for the PyTorch library.
See [README](tools/README.md) of this directory for more details. See [README](tools/README.md) of this directory for more details.
* [torchgen](torchgen) - contains the logic and tooling for generating PyTorch's low-level C++ and Python bindings from operator definitions, typically specified in native_functions.yaml
* [test](test) - Python unit tests for PyTorch Python frontend. * [test](test) - Python unit tests for PyTorch Python frontend.
* [test_torch.py](test/test_torch.py) - Basic tests for PyTorch * [test_torch.py](test/test_torch.py) - Basic tests for PyTorch
functionality. functionality.