--- myst: html_meta: description: PyTorch C++ API reference — complete documentation for ATen, Autograd, nn, optim, data, CUDA, and more. keywords: PyTorch, C++, API reference, ATen, Autograd, nn, optim, CUDA --- # C++ API Reference This section provides reference documentation for the PyTorch C++ API, organized by module. ```{toctree} :maxdepth: 2 :caption: Core aten/index c10/index autograd/index cuda/index xpu/index ``` ```{toctree} :maxdepth: 2 :caption: C++ Frontend nn/index optim/index data/index serialize/index ``` ```{toctree} :maxdepth: 2 :caption: Extensions library/index stable/index ```