(pytorch_api)=
# Reference API
```{toctree}
:maxdepth: 1
C++
```
```{toctree}
:glob:
:maxdepth: 1
:caption: Python API
torch
nn
nn.functional
tensors
tensor_attributes
tensor_view
torch.amp
torch.autograd
torch.library
accelerator
cpu
cuda
torch.cuda.memory
mps
xpu
mtia
meta
torch.backends
torch.export
torch.distributed
torch.distributions
torch.compiler
torch.fft
torch.foreach
torch.func
futures
fx
fx.experimental
torch.hub
torch.linalg
torch.monitor
torch.signal
torch.special
torch.overrides
torch.nativert
torch.package
profiler
nn.init
nn.attention
onnx
optim
complex_numbers
quantization
torch.random
masked
torch.nested
size
sparse
storage
torch.testing
torch.utils
type_info
torch.__config__
torch.__future__
logging
torch_environment_variables
```