PyTorch文档¶
PyTorch 是一个针对使用GPU和CPU进行深度学习的优化张量库。
本文档中描述的功能按发布状态进行分类:
Stable: These features will be maintained long-term and there should generally be no major performance limitations or gaps in documentation. We also expect to maintain backwards compatibility (although breaking changes can happen and notice will be given one release ahead of time).
Beta: These features are tagged as Beta because the API may change based on user feedback, because the performance needs to improve, or because coverage across operators is not yet complete. For Beta features, we are committing to seeing the feature through to the Stable classification. We are not, however, committing to backwards compatibility.
Prototype: These features are typically not available as part of binary distributions like PyPI or Conda, except sometimes behind run-time flags, and are at an early stage for feedback and testing.
注释
Python API
- torch
- torch.nn
- torch.nn.functional
- torch.Tensor
- 张量属性
- 张量视图
- torch.autograd
- torch.cuda
- torch.cuda.amp
- torch.backends
- torch.distributed
- torch.distributed.algorithms.join
- torch.distributed.elastic
- torch.distributed.optim
- torch.distributions
- torch.fft
- torch.futures
- torch.fx
- torch.hub
- torch.jit
- torch.linalg
- torch.special
- torch.overrides
- torch.package
- torch.profiler
- torch.nn.init
- torch.onnx
- torch.optim
- 复数
- DDP通信钩子
- 管道并行计算
- 量化
- 分布式RPC框架
- torch.random
- torch.sparse
- torch.Storage
- torch.testing
- torch.utils.benchmark
- torch.utils.bottleneck
- torch.utils.checkpoint
- torch.utils.cpp_extension
- torch.utils.data
- torch.utils.dlpack
- torch.utils.mobile_optimizer
- torch.utils.model_zoo
- torch.utils.tensorboard
- 类型信息
- 命名张量
- 命名张量运算符覆盖
- torch.__config__