Merged
[docs] update contents #45080
chenzhenxiAdd on Aug 21
[docs] update contents #45080
Merged
chenzhenxiAdd on Aug 21
Total: 245 files changed+3404-1047
@@ -12,19 +12,22 @@
12 - [torch.autograd](./pytorch_2-13-0/torch-autograd.md)12 - [torch.autograd](./pytorch_2-13-0/torch-autograd.md)
13 - [torch.library](./pytorch_2-13-0/torch-library.md)13 - [torch.library](./pytorch_2-13-0/torch-library.md)
14 - [torch.accelerator](./pytorch_2-13-0/torch-accelerator.md)14 - [torch.accelerator](./pytorch_2-13-0/torch-accelerator.md)
15+ - [torch.cpu](./pytorch_2-13-0/torch-cpu.md)
15 - [torch.cuda](./pytorch_2-13-0/torch-cuda.md)16 - [torch.cuda](./pytorch_2-13-0/torch-cuda.md)
16 - [torch.backends](./pytorch_2-13-0/torch-backends.md)17 - [torch.backends](./pytorch_2-13-0/torch-backends.md)
18+ - [torch.export](./pytorch_2-13-0/torch-export.md)
17 - [torch.distributed](./pytorch_2-13-0/torch-distributed.md)19 - [torch.distributed](./pytorch_2-13-0/torch-distributed.md)
18 - [torch.distributed.tensor](./pytorch_2-13-0/torch-distributed-tensor.md)20 - [torch.distributed.tensor](./pytorch_2-13-0/torch-distributed-tensor.md)
19 - [torch.distributed.algorithms.join](./pytorch_2-13-0/torch-distributed-algorithms-join.md)21 - [torch.distributed.algorithms.join](./pytorch_2-13-0/torch-distributed-algorithms-join.md)
20 - [torch.distributed.elastic](./pytorch_2-13-0/torch-distributed-elastic.md)22 - [torch.distributed.elastic](./pytorch_2-13-0/torch-distributed-elastic.md)
21 - [torch.distributed.fsdp](./pytorch_2-13-0/torch-distributed-fsdp.md)23 - [torch.distributed.fsdp](./pytorch_2-13-0/torch-distributed-fsdp.md)
22 - [torch.distributed.fsdp.fully_shard](./pytorch_2-13-0/torch-distributed-fsdp-fully_shard.md)24 - [torch.distributed.fsdp.fully_shard](./pytorch_2-13-0/torch-distributed-fsdp-fully_shard.md)
25+ - [torch.distributed.tensor.parallel](./pytorch_2-13-0/torch-distributed-tensor-parallel.md)
23 - [torch.distributed.optim](./pytorch_2-13-0/torch-distributed-optim.md)26 - [torch.distributed.optim](./pytorch_2-13-0/torch-distributed-optim.md)
24 - [torch.distributed.pipelining](./pytorch_2-13-0/torch-distributed-pipelining.md)27 - [torch.distributed.pipelining](./pytorch_2-13-0/torch-distributed-pipelining.md)
25- - [torch.distributed.tensor.parallel](./pytorch_2-13-0/torch-distributed-tensor-parallel.md)
26 - [torch.distributed.checkpoint](./pytorch_2-13-0/torch-distributed-checkpoint.md)28 - [torch.distributed.checkpoint](./pytorch_2-13-0/torch-distributed-checkpoint.md)
27 - [torch.distributions](./pytorch_2-13-0/torch-distributions.md)29 - [torch.distributions](./pytorch_2-13-0/torch-distributions.md)
30+ - [torch.compiler](./pytorch_2-13-0/torch-compiler.md)
28 - [torch.fft](./pytorch_2-13-0/torch-fft.md)31 - [torch.fft](./pytorch_2-13-0/torch-fft.md)
29 - [torch.func](./pytorch_2-13-0/torch-func.md)32 - [torch.func](./pytorch_2-13-0/torch-func.md)
30 - [torch.futures](./pytorch_2-13-0/torch-futures.md)33 - [torch.futures](./pytorch_2-13-0/torch-futures.md)
@@ -40,9 +43,6 @@
40 - [torch.nn.init](./pytorch_2-13-0/torch-nn-init.md)43 - [torch.nn.init](./pytorch_2-13-0/torch-nn-init.md)
41 - [torch.onnx](./pytorch_2-13-0/torch-onnx.md)44 - [torch.onnx](./pytorch_2-13-0/torch-onnx.md)
42 - [torch.optim](./pytorch_2-13-0/torch-optim.md)45 - [torch.optim](./pytorch_2-13-0/torch-optim.md)
43- - [torch.cpu](./pytorch_2-13-0/torch-cpu.md)
44- - [torch.compiler](./pytorch_2-13-0/torch-compiler.md)
45- - [torch.export](./pytorch_2-13-0/torch-export.md)
46 - [DDP Communication Hooks](./pytorch_2-13-0/DDP-Communication-Hooks.md)46 - [DDP Communication Hooks](./pytorch_2-13-0/DDP-Communication-Hooks.md)
47 - [Quantization](./pytorch_2-13-0/Quantization.md)47 - [Quantization](./pytorch_2-13-0/Quantization.md)
48 - [Distributed RPC Framework](./pytorch_2-13-0/Distributed-RPC-Framework.md)48 - [Distributed RPC Framework](./pytorch_2-13-0/Distributed-RPC-Framework.md)
@@ -76,19 +76,22 @@
76 - [torch.autograd](./pytorch_2-12-0/torch-autograd.md)76 - [torch.autograd](./pytorch_2-12-0/torch-autograd.md)
77 - [torch.library](./pytorch_2-12-0/torch-library.md)77 - [torch.library](./pytorch_2-12-0/torch-library.md)
78 - [torch.accelerator](./pytorch_2-12-0/torch-accelerator.md)78 - [torch.accelerator](./pytorch_2-12-0/torch-accelerator.md)
79+ - [torch.cpu](./pytorch_2-12-0/torch-cpu.md)
79 - [torch.cuda](./pytorch_2-12-0/torch-cuda.md)80 - [torch.cuda](./pytorch_2-12-0/torch-cuda.md)
80 - [torch.backends](./pytorch_2-12-0/torch-backends.md)81 - [torch.backends](./pytorch_2-12-0/torch-backends.md)
82+ - [torch.export](./pytorch_2-12-0/torch-export.md)
81 - [torch.distributed](./pytorch_2-12-0/torch-distributed.md)83 - [torch.distributed](./pytorch_2-12-0/torch-distributed.md)
82 - [torch.distributed.tensor](./pytorch_2-12-0/torch-distributed-tensor.md)84 - [torch.distributed.tensor](./pytorch_2-12-0/torch-distributed-tensor.md)
83 - [torch.distributed.algorithms.join](./pytorch_2-12-0/torch-distributed-algorithms-join.md)85 - [torch.distributed.algorithms.join](./pytorch_2-12-0/torch-distributed-algorithms-join.md)
84 - [torch.distributed.elastic](./pytorch_2-12-0/torch-distributed-elastic.md)86 - [torch.distributed.elastic](./pytorch_2-12-0/torch-distributed-elastic.md)
85 - [torch.distributed.fsdp](./pytorch_2-12-0/torch-distributed-fsdp.md)87 - [torch.distributed.fsdp](./pytorch_2-12-0/torch-distributed-fsdp.md)
86 - [torch.distributed.fsdp.fully_shard](./pytorch_2-12-0/torch-distributed-fsdp-fully_shard.md)88 - [torch.distributed.fsdp.fully_shard](./pytorch_2-12-0/torch-distributed-fsdp-fully_shard.md)
89+ - [torch.distributed.tensor.parallel](./pytorch_2-12-0/torch-distributed-tensor-parallel.md)
87 - [torch.distributed.optim](./pytorch_2-12-0/torch-distributed-optim.md)90 - [torch.distributed.optim](./pytorch_2-12-0/torch-distributed-optim.md)
88 - [torch.distributed.pipelining](./pytorch_2-12-0/torch-distributed-pipelining.md)91 - [torch.distributed.pipelining](./pytorch_2-12-0/torch-distributed-pipelining.md)
89- - [torch.distributed.tensor.parallel](./pytorch_2-12-0/torch-distributed-tensor-parallel.md)
90 - [torch.distributed.checkpoint](./pytorch_2-12-0/torch-distributed-checkpoint.md)92 - [torch.distributed.checkpoint](./pytorch_2-12-0/torch-distributed-checkpoint.md)
91 - [torch.distributions](./pytorch_2-12-0/torch-distributions.md)93 - [torch.distributions](./pytorch_2-12-0/torch-distributions.md)
94+ - [torch.compiler](./pytorch_2-12-0/torch-compiler.md)
92 - [torch.fft](./pytorch_2-12-0/torch-fft.md)95 - [torch.fft](./pytorch_2-12-0/torch-fft.md)
93 - [torch.func](./pytorch_2-12-0/torch-func.md)96 - [torch.func](./pytorch_2-12-0/torch-func.md)
94 - [torch.futures](./pytorch_2-12-0/torch-futures.md)97 - [torch.futures](./pytorch_2-12-0/torch-futures.md)
@@ -104,9 +107,6 @@
104 - [torch.nn.init](./pytorch_2-12-0/torch-nn-init.md)107 - [torch.nn.init](./pytorch_2-12-0/torch-nn-init.md)
105 - [torch.onnx](./pytorch_2-12-0/torch-onnx.md)108 - [torch.onnx](./pytorch_2-12-0/torch-onnx.md)
106 - [torch.optim](./pytorch_2-12-0/torch-optim.md)109 - [torch.optim](./pytorch_2-12-0/torch-optim.md)
107- - [torch.cpu](./pytorch_2-12-0/torch-cpu.md)
108- - [torch.compiler](./pytorch_2-12-0/torch-compiler.md)
109- - [torch.export](./pytorch_2-12-0/torch-export.md)
110 - [DDP Communication Hooks](./pytorch_2-12-0/DDP-Communication-Hooks.md)110 - [DDP Communication Hooks](./pytorch_2-12-0/DDP-Communication-Hooks.md)
111 - [Quantization](./pytorch_2-12-0/Quantization.md)111 - [Quantization](./pytorch_2-12-0/Quantization.md)
112 - [Distributed RPC Framework](./pytorch_2-12-0/Distributed-RPC-Framework.md)112 - [Distributed RPC Framework](./pytorch_2-12-0/Distributed-RPC-Framework.md)
@@ -141,19 +141,22 @@
141 - [torch.autograd](./pytorch_2-11-0/torch-autograd.md)141 - [torch.autograd](./pytorch_2-11-0/torch-autograd.md)
142 - [torch.library](./pytorch_2-11-0/torch-library.md)142 - [torch.library](./pytorch_2-11-0/torch-library.md)
143 - [torch.accelerator](./pytorch_2-11-0/torch-accelerator.md)143 - [torch.accelerator](./pytorch_2-11-0/torch-accelerator.md)
144+ - [torch.cpu](./pytorch_2-11-0/torch-cpu.md)
144 - [torch.cuda](./pytorch_2-11-0/torch-cuda.md)145 - [torch.cuda](./pytorch_2-11-0/torch-cuda.md)
145 - [torch.backends](./pytorch_2-11-0/torch-backends.md)146 - [torch.backends](./pytorch_2-11-0/torch-backends.md)
147+ - [torch.export](./pytorch_2-11-0/torch-export.md)
146 - [torch.distributed](./pytorch_2-11-0/torch-distributed.md)148 - [torch.distributed](./pytorch_2-11-0/torch-distributed.md)
147 - [torch.distributed.tensor](./pytorch_2-11-0/torch-distributed-tensor.md)149 - [torch.distributed.tensor](./pytorch_2-11-0/torch-distributed-tensor.md)
148 - [torch.distributed.algorithms.join](./pytorch_2-11-0/torch-distributed-algorithms-join.md)150 - [torch.distributed.algorithms.join](./pytorch_2-11-0/torch-distributed-algorithms-join.md)
149 - [torch.distributed.elastic](./pytorch_2-11-0/torch-distributed-elastic.md)151 - [torch.distributed.elastic](./pytorch_2-11-0/torch-distributed-elastic.md)
150 - [torch.distributed.fsdp](./pytorch_2-11-0/torch-distributed-fsdp.md)152 - [torch.distributed.fsdp](./pytorch_2-11-0/torch-distributed-fsdp.md)
151 - [torch.distributed.fsdp.fully_shard](./pytorch_2-11-0/torch-distributed-fsdp-fully_shard.md)153 - [torch.distributed.fsdp.fully_shard](./pytorch_2-11-0/torch-distributed-fsdp-fully_shard.md)
154+ - [torch.distributed.tensor.parallel](./pytorch_2-11-0/torch-distributed-tensor-parallel.md)
152 - [torch.distributed.optim](./pytorch_2-11-0/torch-distributed-optim.md)155 - [torch.distributed.optim](./pytorch_2-11-0/torch-distributed-optim.md)
153 - [torch.distributed.pipelining](./pytorch_2-11-0/torch-distributed-pipelining.md)156 - [torch.distributed.pipelining](./pytorch_2-11-0/torch-distributed-pipelining.md)
154- - [torch.distributed.tensor.parallel](./pytorch_2-11-0/torch-distributed-tensor-parallel.md)
155 - [torch.distributed.checkpoint](./pytorch_2-11-0/torch-distributed-checkpoint.md)157 - [torch.distributed.checkpoint](./pytorch_2-11-0/torch-distributed-checkpoint.md)
156 - [torch.distributions](./pytorch_2-11-0/torch-distributions.md)158 - [torch.distributions](./pytorch_2-11-0/torch-distributions.md)
159+ - [torch.compiler](./pytorch_2-11-0/torch-compiler.md)
157 - [torch.fft](./pytorch_2-11-0/torch-fft.md)160 - [torch.fft](./pytorch_2-11-0/torch-fft.md)
158 - [torch.func](./pytorch_2-11-0/torch-func.md)161 - [torch.func](./pytorch_2-11-0/torch-func.md)
159 - [torch.futures](./pytorch_2-11-0/torch-futures.md)162 - [torch.futures](./pytorch_2-11-0/torch-futures.md)
@@ -169,9 +172,6 @@
169 - [torch.nn.init](./pytorch_2-11-0/torch-nn-init.md)172 - [torch.nn.init](./pytorch_2-11-0/torch-nn-init.md)
170 - [torch.onnx](./pytorch_2-11-0/torch-onnx.md)173 - [torch.onnx](./pytorch_2-11-0/torch-onnx.md)
171 - [torch.optim](./pytorch_2-11-0/torch-optim.md)174 - [torch.optim](./pytorch_2-11-0/torch-optim.md)
172- - [torch.cpu](./pytorch_2-11-0/torch-cpu.md)
173- - [torch.compiler](./pytorch_2-11-0/torch-compiler.md)
174- - [torch.export](./pytorch_2-11-0/torch-export.md)
175 - [DDP Communication Hooks](./pytorch_2-11-0/DDP-Communication-Hooks.md)175 - [DDP Communication Hooks](./pytorch_2-11-0/DDP-Communication-Hooks.md)
176 - [Quantization](./pytorch_2-11-0/Quantization.md)176 - [Quantization](./pytorch_2-11-0/Quantization.md)
177 - [Distributed RPC Framework](./pytorch_2-11-0/Distributed-RPC-Framework.md)177 - [Distributed RPC Framework](./pytorch_2-11-0/Distributed-RPC-Framework.md)
@@ -206,19 +206,22 @@
206 - [torch.autograd](./pytorch_2-7-1/torch-autograd.md)206 - [torch.autograd](./pytorch_2-7-1/torch-autograd.md)
207 - [torch.library](./pytorch_2-7-1/torch-library.md)207 - [torch.library](./pytorch_2-7-1/torch-library.md)
208 - [torch.accelerator](./pytorch_2-7-1/torch-accelerator.md)208 - [torch.accelerator](./pytorch_2-7-1/torch-accelerator.md)
209+ - [torch.cpu](./pytorch_2-7-1/torch-cpu.md)
209 - [torch.cuda](./pytorch_2-7-1/torch-cuda.md)210 - [torch.cuda](./pytorch_2-7-1/torch-cuda.md)
210 - [torch.backends](./pytorch_2-7-1/torch-backends.md)211 - [torch.backends](./pytorch_2-7-1/torch-backends.md)
212+ - [torch.export](./pytorch_2-7-1/torch-export.md)
211 - [torch.distributed](./pytorch_2-7-1/torch-distributed.md)213 - [torch.distributed](./pytorch_2-7-1/torch-distributed.md)
212 - [torch.distributed.tensor](./pytorch_2-7-1/torch-distributed-tensor.md)214 - [torch.distributed.tensor](./pytorch_2-7-1/torch-distributed-tensor.md)
213 - [torch.distributed.algorithms.join](./pytorch_2-7-1/torch-distributed-algorithms-join.md)215 - [torch.distributed.algorithms.join](./pytorch_2-7-1/torch-distributed-algorithms-join.md)
214 - [torch.distributed.elastic](./pytorch_2-7-1/torch-distributed-elastic.md)216 - [torch.distributed.elastic](./pytorch_2-7-1/torch-distributed-elastic.md)
215 - [torch.distributed.fsdp](./pytorch_2-7-1/torch-distributed-fsdp.md)217 - [torch.distributed.fsdp](./pytorch_2-7-1/torch-distributed-fsdp.md)
216 - [torch.distributed.fsdp.fully_shard](./pytorch_2-7-1/torch-distributed-fsdp-fully_shard.md)218 - [torch.distributed.fsdp.fully_shard](./pytorch_2-7-1/torch-distributed-fsdp-fully_shard.md)
219+ - [torch.distributed.tensor.parallel](./pytorch_2-7-1/torch-distributed-tensor-parallel.md)
217 - [torch.distributed.optim](./pytorch_2-7-1/torch-distributed-optim.md)220 - [torch.distributed.optim](./pytorch_2-7-1/torch-distributed-optim.md)
218 - [torch.distributed.pipelining](./pytorch_2-7-1/torch-distributed-pipelining.md)221 - [torch.distributed.pipelining](./pytorch_2-7-1/torch-distributed-pipelining.md)
219- - [torch.distributed.tensor.parallel](./pytorch_2-7-1/torch-distributed-tensor-parallel.md)
220 - [torch.distributed.checkpoint](./pytorch_2-7-1/torch-distributed-checkpoint.md)222 - [torch.distributed.checkpoint](./pytorch_2-7-1/torch-distributed-checkpoint.md)
221 - [torch.distributions](./pytorch_2-7-1/torch-distributions.md)223 - [torch.distributions](./pytorch_2-7-1/torch-distributions.md)
224+ - [torch.compiler](./pytorch_2-7-1/torch-compiler.md)
222 - [torch.fft](./pytorch_2-7-1/torch-fft.md)225 - [torch.fft](./pytorch_2-7-1/torch-fft.md)
223 - [torch.func](./pytorch_2-7-1/torch-func.md)226 - [torch.func](./pytorch_2-7-1/torch-func.md)
224 - [torch.futures](./pytorch_2-7-1/torch-futures.md)227 - [torch.futures](./pytorch_2-7-1/torch-futures.md)
@@ -235,9 +238,6 @@
235 - [torch.nn.init](./pytorch_2-7-1/torch-nn-init.md)238 - [torch.nn.init](./pytorch_2-7-1/torch-nn-init.md)
236 - [torch.onnx](./pytorch_2-7-1/torch-onnx.md)239 - [torch.onnx](./pytorch_2-7-1/torch-onnx.md)
237 - [torch.optim](./pytorch_2-7-1/torch-optim.md)240 - [torch.optim](./pytorch_2-7-1/torch-optim.md)
238- - [torch.cpu](./pytorch_2-7-1/torch-cpu.md)
239- - [torch.compiler](./pytorch_2-7-1/torch-compiler.md)
240- - [torch.export](./pytorch_2-7-1/torch-export.md)
241 - [DDP Communication Hooks](./pytorch_2-7-1/DDP-Communication-Hooks.md)241 - [DDP Communication Hooks](./pytorch_2-7-1/DDP-Communication-Hooks.md)
242 - [Quantization](./pytorch_2-7-1/Quantization.md)242 - [Quantization](./pytorch_2-7-1/Quantization.md)
243 - [Distributed RPC Framework](./pytorch_2-7-1/Distributed-RPC-Framework.md)243 - [Distributed RPC Framework](./pytorch_2-7-1/Distributed-RPC-Framework.md)
@@ -8,13 +8,22 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/ddp_comm_hooks.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/ddp_comm_hooks.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [What Does a Communication Hook Operate On?](#what-does-a-communication-hook-operate-on)14- [What Does a Communication Hook Operate On?](#what-does-a-communication-hook-operate-on)
14- [Default Communication Hooks](#default-communication-hooks)15- [Default Communication Hooks](#default-communication-hooks)
15- [PowerSGD Communication Hook](#powersgd-communication-hook)16- [PowerSGD Communication Hook](#powersgd-communication-hook)
16- [Debugging Communication Hooks](#debugging-communication-hooks)17- [Debugging Communication Hooks](#debugging-communication-hooks)
17 18 
19+</div>
20+ 
21+<div style="display:none;">
22+ 
23+## &#8203;DDP Communication Hooks
24+ 
25+</div>
26+ 
18## What Does a Communication Hook Operate On?27## What Does a Communication Hook Operate On?
19 28 
20### <code><i>class</i></code> torch.distributed.GradBucket29### <code><i>class</i></code> torch.distributed.GradBucket
@@ -8,13 +8,22 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/rpc.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/rpc.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [RPC](#rpc)14- [RPC](#rpc)
14- [RRef](#rref)15- [RRef](#rref)
15- [RemoteModule](#remotemodule)16- [RemoteModule](#remotemodule)
16- [Distributed Autograd Framework](#distributed-autograd-framework)17- [Distributed Autograd Framework](#distributed-autograd-framework)
17 18 
19+</div>
20+ 
21+<div style="display:none;">
22+ 
23+## &#8203;Distributed RPC Framework
24+ 
25+</div>
26+ 
18## RPC27## RPC
19 28 
20### torch.distributed.rpc.shutdown29### torch.distributed.rpc.shutdown
@@ -8,11 +8,20 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/named_tensor.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/named_tensor.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13-- [Tensor class reference](#tensor-class-reference)14+- [Named tensor API reference](#named-tensor-api-reference)
14 15 
15-## Tensor class reference16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;Named Tensors
21+ 
22+</div>
23+ 
24+## Named tensor API reference
16 25 
17### <code><i>class</i></code> torch.Tensor26### <code><i>class</i></code> torch.Tensor
18 27 
@@ -8,7 +8,8 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://docs.pytorch.org/docs/2.11/quantization-support.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://docs.pytorch.org/docs/2.11/quantization-support.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [torch.ao.quantization](#torchaoquantization)14- [torch.ao.quantization](#torchaoquantization)
14- [torch.ao.quantization.qconfig_mapping](#torchaoquantizationqconfig_mapping)15- [torch.ao.quantization.qconfig_mapping](#torchaoquantizationqconfig_mapping)
@@ -23,6 +24,14 @@
23- [torch.ao.nn.quantizable](#torchaonnquantizable)24- [torch.ao.nn.quantizable](#torchaonnquantizable)
24- [torch.ao.nn.quantized.dynamic](#torchaonnquantizeddynamic)25- [torch.ao.nn.quantized.dynamic](#torchaonnquantizeddynamic)
25 26 
27+</div>
28+ 
29+<div style="display:none;">
30+ 
31+## &#8203;Quantization
32+ 
33+</div>
34+ 
26### torch.ao.ns.fx.utils.compute_sqnr35### torch.ao.ns.fx.utils.compute_sqnr
27 36 
28<div style="margin-left: 2em">37<div style="margin-left: 2em">
@@ -8,12 +8,21 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/tensor_attributes.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/tensor_attributes.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [torch.dtype](#torchdtype)14- [torch.dtype](#torchdtype)
14- [torch.device](#torchdevice)15- [torch.device](#torchdevice)
15- [torch.layout](#torchlayout)16- [torch.layout](#torchlayout)
16 17 
18+</div>
19+ 
20+<div style="display:none;">
21+ 
22+## &#8203;Tensor Attributes
23+ 
24+</div>
25+ 
17## torch.dtype26## torch.dtype
18 27 
19### torch.dtype28### torch.dtype
@@ -8,13 +8,23 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/type_info.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/type_info.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13-- [API Reference](#api-reference)14+- [torch.finfo](#torchfinfo)
15+- [torch.iinfo](#torchiinfo)
14 16 
15-## API Reference17+</div>
16 18 
17-### torch.finfo19+<div style="display:none;">
20+ 
21+## &#8203;Type Info
22+ 
23+</div>
24+ 
25+## torch.finfo
26+ 
27+### <code><i>class</i></code> torch.finfo
18 28 
19<div style="margin-left: 2em">29<div style="margin-left: 2em">
20 30 
@@ -30,7 +40,9 @@
30 40 
31</div>41</div>
32 42 
33-### torch.iinfo43+## torch.iinfo
44+ 
45+### <code><i>class</i></code> torch.iinfo
34 46 
35<div style="margin-left: 2em">47<div style="margin-left: 2em">
36 48 
@@ -8,11 +8,20 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/storage.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/storage.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Special cases](#special-cases)14- [Special cases](#special-cases)
14- [Legacy Typed Storage](#legacy-typed-storage)15- [Legacy Typed Storage](#legacy-typed-storage)
15 16 
17+</div>
18+ 
19+<div style="display:none;">
20+ 
21+## &#8203;torch.Storage
22+ 
23+</div>
24+ 
16## Special cases25## Special cases
17 26 
18### <code><i>class</i></code> torch.UntypedStorage27### <code><i>class</i></code> torch.UntypedStorage
@@ -8,10 +8,19 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/tensors.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/tensors.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Tensor class reference](#tensor-class-reference)14- [Tensor class reference](#tensor-class-reference)
14 15 
16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.Tensor
21+ 
22+</div>
23+ 
15## Tensor class reference24## Tensor class reference
16 25 
17### <code><i>class</i></code> torch.Tensor26### <code><i>class</i></code> torch.Tensor
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/config_mod.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/config_mod.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [torch.config](#torchconfig)13+## &#8203;torch.\_\_config\_\_
14 14 
15-## torch.config15+</div>
16 16 
17### torch.\_\_config\_\_.show17### torch.\_\_config\_\_.show
18 18 
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/accelerator.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/accelerator.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [API Reference](#api-reference)13+## &#8203;torch.accelerator
14 14 
15-## API Reference15+</div>
16 16 
17### torch.accelerator.device_count17### torch.accelerator.device_count
18 18 
@@ -8,11 +8,20 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/amp.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/amp.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Autocasting](#autocasting)14- [Autocasting](#autocasting)
14- [Gradient Scaling](#gradient-scaling)15- [Gradient Scaling](#gradient-scaling)
15 16 
17+</div>
18+ 
19+<div style="display:none;">
20+ 
21+## &#8203;torch.amp
22+ 
23+</div>
24+ 
16## Autocasting25## Autocasting
17 26 
18### torch.cuda.amp.autocast27### torch.cuda.amp.autocast
@@ -8,18 +8,63 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/autograd.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/autograd.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Forward-mode Automatic Differentiation](#forward-mode-automatic-differentiation)14- [Forward-mode Automatic Differentiation](#forward-mode-automatic-differentiation)
14- [Functional higher level API](#functional-higher-level-api)15- [Functional higher level API](#functional-higher-level-api)
15-- [Default gradient layouts](#default-gradient-layouts)
16-- [Tensor autograd functions](#tensor-autograd-functions)
17- [Function](#function)16- [Function](#function)
17+- [Context method mixins](#context-method-mixins)
18- [Numerical gradient checking](#numerical-gradient-checking)18- [Numerical gradient checking](#numerical-gradient-checking)
19- [Profiler](#profiler)19- [Profiler](#profiler)
20- [Debugging and anomaly detection](#debugging-and-anomaly-detection)20- [Debugging and anomaly detection](#debugging-and-anomaly-detection)
21- [Autograd graph](#autograd-graph)21- [Autograd graph](#autograd-graph)
22 22 
23+</div>
24+ 
25+<div style="display:none;">
26+ 
27+## &#8203;torch.autograd
28+ 
29+</div>
30+ 
31+### torch.autograd.backward
32+ 
33+<div style="margin-left: 2em">
34+ 
35+**原生文档**:[torch.autograd.backward](https://pytorch.org/docs/2.11/generated/torch.autograd.backward.html)
36+ 
37+**支持情况**:
38+ 
39+| 硬件 | 是否支持 |
40+| ---- | :----: |
41+| <term>Atlas A2 训练系列产品</term> | ✔ |
42+| <term>Atlas A3 训练系列产品</term> | ✔ |
43+| <term>Ascend 950DT</term> | ✔ |
44+ 
45+**限制与说明**:
46+ 
47+- `input`仅支持bf16,fp16,fp32,fp64
48+- 不支持稀疏张量
49+ 
50+</div>
51+ 
52+### torch.autograd.grad
53+ 
54+<div style="margin-left: 2em">
55+ 
56+**原生文档**:[torch.autograd.grad](https://pytorch.org/docs/2.11/generated/torch.autograd.grad.html)
57+ 
58+**支持情况**:
59+ 
60+| 硬件 | 是否支持 |
61+| ---- | :----: |
62+| <term>Atlas A2 训练系列产品</term> | ✔ |
63+| <term>Atlas A3 训练系列产品</term> | ✔ |
64+| <term>Ascend 950DT</term> | ✔ |
65+ 
66+</div>
67+ 
23## Forward-mode Automatic Differentiation68## Forward-mode Automatic Differentiation
24 69 
25### torch.autograd.forward_ad.dual_level70### torch.autograd.forward_ad.dual_level
@@ -404,47 +449,6 @@
404 449 
405</div>450</div>
406 451 
407-## Default gradient layouts
408- 
409-### torch.autograd.backward
410- 
411-<div style="margin-left: 2em">
412- 
413-**原生文档**:[torch.autograd.backward](https://pytorch.org/docs/2.11/generated/torch.autograd.backward.html)
414- 
415-**支持情况**:
416- 
417-| 硬件 | 是否支持 |
418-| ---- | :----: |
419-| <term>Atlas A2 训练系列产品</term> | ✔ |
420-| <term>Atlas A3 训练系列产品</term> | ✔ |
421-| <term>Ascend 950DT</term> | ✔ |
422- 
423-**限制与说明**:
424- 
425-- `input`仅支持bf16,fp16,fp32,fp64
426-- 不支持稀疏张量
427- 
428-</div>
429- 
430-## Tensor autograd functions
431- 
432-### torch.autograd.grad
433- 
434-<div style="margin-left: 2em">
435- 
436-**原生文档**:[torch.autograd.grad](https://pytorch.org/docs/2.11/generated/torch.autograd.grad.html)
437- 
438-**支持情况**:
439- 
440-| 硬件 | 是否支持 |
441-| ---- | :----: |
442-| <term>Atlas A2 训练系列产品</term> | ✔ |
443-| <term>Atlas A3 训练系列产品</term> | ✔ |
444-| <term>Ascend 950DT</term> | ✔ |
445- 
446-</div>
447- 
448## Function452## Function
449 453 
450### <code><i>class</i></code> torch.autograd.Function454### <code><i>class</i></code> torch.autograd.Function
@@ -527,6 +531,78 @@
527 531 
528</div>532</div>
529 533 
534+## Context method mixins
535+ 
536+### <code><i>class</i></code> torch.autograd.function.FunctionCtx
537+ 
538+<div style="margin-left: 2em">
539+ 
540+> <font size="3">mark_dirty()</font>
541+ 
542+<div style="margin-left: 2em">
543+ 
544+**原生文档**:[torch.autograd.function.FunctionCtx.mark_dirty](https://pytorch.org/docs/2.11/generated/torch.autograd.function.FunctionCtx.mark_dirty.html)
545+ 
546+**支持情况**:
547+ 
548+| 硬件 | 是否支持 |
549+| ---- | :----: |
550+| <term>Atlas A2 训练系列产品</term> | ✔ |
551+| <term>Atlas A3 训练系列产品</term> | ✔ |
552+| <term>Ascend 950DT</term> | ✘ |
553+ 
554+</div>
555+ 
556+> <font size="3">mark_non_differentiable()</font>
557+ 
558+<div style="margin-left: 2em">
559+ 
560+**原生文档**:[torch.autograd.function.FunctionCtx.mark_non_differentiable](https://pytorch.org/docs/2.11/generated/torch.autograd.function.FunctionCtx.mark_non_differentiable.html)
561+ 
562+**支持情况**:
563+ 
564+| 硬件 | 是否支持 |
565+| ---- | :----: |
566+| <term>Atlas A2 训练系列产品</term> | ✔ |
567+| <term>Atlas A3 训练系列产品</term> | ✔ |
568+| <term>Ascend 950DT</term> | ✘ |
569+ 
570+</div>
571+ 
572+> <font size="3">save_for_backward()</font>
573+ 
574+<div style="margin-left: 2em">
575+ 
576+**原生文档**:[torch.autograd.function.FunctionCtx.save_for_backward](https://pytorch.org/docs/2.11/generated/torch.autograd.function.FunctionCtx.save_for_backward.html)
577+ 
578+**支持情况**:
579+ 
580+| 硬件 | 是否支持 |
581+| ---- | :----: |
582+| <term>Atlas A2 训练系列产品</term> | ✔ |
583+| <term>Atlas A3 训练系列产品</term> | ✔ |
584+| <term>Ascend 950DT</term> | ✘ |
585+ 
586+</div>
587+ 
588+> <font size="3">set_materialize_grads()</font>
589+ 
590+<div style="margin-left: 2em">
591+ 
592+**原生文档**:[torch.autograd.function.FunctionCtx.set_materialize_grads](https://pytorch.org/docs/2.11/generated/torch.autograd.function.FunctionCtx.set_materialize_grads.html)
593+ 
594+**支持情况**:
595+ 
596+| 硬件 | 是否支持 |
597+| ---- | :----: |
598+| <term>Atlas A2 训练系列产品</term> | ✔ |
599+| <term>Atlas A3 训练系列产品</term> | ✔ |
600+| <term>Ascend 950DT</term> | ✘ |
601+ 
602+</div>
603+ 
604+</div>
605+ 
530## Numerical gradient checking606## Numerical gradient checking
531 607 
532### torch.autograd.gradcheck.gradcheck608### torch.autograd.gradcheck.gradcheck
@@ -586,6 +662,70 @@ with torch.autograd.profiler.profile(use_device="npu") as prof:
586 662 
587</div>663</div>
588 664 
665+### profile.export_chrome_trace
666+ 
667+<div style="margin-left: 2em">
668+ 
669+**原生文档**:[profile.export_chrome_trace](https://pytorch.org/docs/2.11/generated/torch.autograd.profiler.profile.export_chrome_trace.html)
670+ 
671+**支持情况**:
672+ 
673+| 硬件 | 是否支持 |
674+| ---- | :----: |
675+| <term>Atlas A2 训练系列产品</term> | ✔ |
676+| <term>Atlas A3 训练系列产品</term> | ✔ |
677+| <term>Ascend 950DT</term> | ✘ |
678+ 
679+</div>
680+ 
681+### profile.key_averages
682+ 
683+<div style="margin-left: 2em">
684+ 
685+**原生文档**:[profile.key_averages](https://pytorch.org/docs/2.11/generated/torch.autograd.profiler.profile.key_averages.html)
686+ 
687+**支持情况**:
688+ 
689+| 硬件 | 是否支持 |
690+| ---- | :----: |
691+| <term>Atlas A2 训练系列产品</term> | ✔ |
692+| <term>Atlas A3 训练系列产品</term> | ✔ |
693+| <term>Ascend 950DT</term> | ✘ |
694+ 
695+</div>
696+ 
697+### profile.self_cpu_time_total
698+ 
699+<div style="margin-left: 2em">
700+ 
701+**原生文档**:[profile.self_cpu_time_total](https://pytorch.org/docs/2.11/generated/torch.autograd.profiler.profile.self_cpu_time_total.html)
702+ 
703+**支持情况**:
704+ 
705+| 硬件 | 是否支持 |
706+| ---- | :----: |
707+| <term>Atlas A2 训练系列产品</term> | ✔ |
708+| <term>Atlas A3 训练系列产品</term> | ✔ |
709+| <term>Ascend 950DT</term> | ✘ |
710+ 
711+</div>
712+ 
713+### profile.total_average
714+ 
715+<div style="margin-left: 2em">
716+ 
717+**原生文档**:[profile.total_average](https://pytorch.org/docs/2.11/generated/torch.autograd.profiler.profile.total_average.html)
718+ 
719+**支持情况**:
720+ 
721+| 硬件 | 是否支持 |
722+| ---- | :----: |
723+| <term>Atlas A2 训练系列产品</term> | ✔ |
724+| <term>Atlas A3 训练系列产品</term> | ✔ |
725+| <term>Ascend 950DT</term> | ✘ |
726+ 
727+</div>
728+ 
589### torch.autograd.profiler.emit_nvtx729### torch.autograd.profiler.emit_nvtx
590 730 
591<div style="margin-left: 2em">731<div style="margin-left: 2em">
@@ -750,6 +890,92 @@ with torch.autograd.profiler.profile(use_device="npu") as prof:
750 890 
751## Autograd graph891## Autograd graph
752 892 
893+### <code><i>class</i></code> torch.autograd.graph.Node
894+ 
895+<div style="margin-left: 2em">
896+ 
897+> <font size="3">name()</font>
898+ 
899+<div style="margin-left: 2em">
900+ 
901+**原生文档**:[Node.name](https://pytorch.org/docs/2.11/generated/torch.autograd.graph.Node.name.html)
902+ 
903+**支持情况**:
904+ 
905+| 硬件 | 是否支持 |
906+| ---- | :----: |
907+| <term>Atlas A2 训练系列产品</term> | ✔ |
908+| <term>Atlas A3 训练系列产品</term> | ✔ |
909+| <term>Ascend 950DT</term> | ✘ |
910+ 
911+</div>
912+ 
913+> <font size="3">metadata()</font>
914+ 
915+<div style="margin-left: 2em">
916+ 
917+**原生文档**:[Node.metadata](https://pytorch.org/docs/2.11/generated/torch.autograd.graph.Node.metadata.html)
918+ 
919+**支持情况**:
920+ 
921+| 硬件 | 是否支持 |
922+| ---- | :----: |
923+| <term>Atlas A2 训练系列产品</term> | ✔ |
924+| <term>Atlas A3 训练系列产品</term> | ✔ |
925+| <term>Ascend 950DT</term> | ✘ |
926+ 
927+</div>
928+ 
929+> <font size="3">next_functions()</font>
930+ 
931+<div style="margin-left: 2em">
932+ 
933+**原生文档**:[Node.next_functions](https://pytorch.org/docs/2.11/generated/torch.autograd.graph.Node.next_functions.html)
934+ 
935+**支持情况**:
936+ 
937+| 硬件 | 是否支持 |
938+| ---- | :----: |
939+| <term>Atlas A2 训练系列产品</term> | ✔ |
940+| <term>Atlas A3 训练系列产品</term> | ✔ |
941+| <term>Ascend 950DT</term> | ✘ |
942+ 
943+</div>
944+ 
945+> <font size="3">register_hook()</font>
946+ 
947+<div style="margin-left: 2em">
948+ 
949+**原生文档**:[Node.register_hook](https://pytorch.org/docs/2.11/generated/torch.autograd.graph.Node.register_hook.html)
950+ 
951+**支持情况**:
952+ 
953+| 硬件 | 是否支持 |
954+| ---- | :----: |
955+| <term>Atlas A2 训练系列产品</term> | ✔ |
956+| <term>Atlas A3 训练系列产品</term> | ✔ |
957+| <term>Ascend 950DT</term> | ✘ |
958+ 
959+</div>
960+ 
961+> <font size="3">register_prehook()</font>
962+ 
963+<div style="margin-left: 2em">
964+ 
965+**原生文档**:[Node.register_prehook](https://pytorch.org/docs/2.11/generated/torch.autograd.graph.Node.register_prehook.html)
966+ 
967+**支持情况**:
968+ 
969+| 硬件 | 是否支持 |
970+| ---- | :----: |
971+| <term>Atlas A2 训练系列产品</term> | ✔ |
972+| <term>Atlas A3 训练系列产品</term> | ✔ |
973+| <term>Ascend 950DT</term> | ✘ |
974+ 
975+</div>
976+ 
977+</div>
978+ 
753### torch.autograd.graph.saved_tensors_hooks979### torch.autograd.graph.saved_tensors_hooks
754 980 
755<div style="margin-left: 2em">981<div style="margin-left: 2em">
@@ -8,7 +8,8 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/backends.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/backends.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [torch.backends.cpu](#torchbackendscpu)14- [torch.backends.cpu](#torchbackendscpu)
14- [torch.backends.cuda](#torchbackendscuda)15- [torch.backends.cuda](#torchbackendscuda)
@@ -19,6 +20,14 @@
19- [torch.backends.openmp](#torchbackendsopenmp)20- [torch.backends.openmp](#torchbackendsopenmp)
20- [torch.backends.opt_einsum](#torchbackendsopt_einsum)21- [torch.backends.opt_einsum](#torchbackendsopt_einsum)
21 22 
23+</div>
24+ 
25+<div style="display:none;">
26+ 
27+## &#8203;torch.backends
28+ 
29+</div>
30+ 
22## torch.backends.cpu31## torch.backends.cpu
23 32 
24### torch.backends.cpu.get_cpu_capability33### torch.backends.cpu.get_cpu_capability
@@ -6,13 +6,13 @@
6> - 若API标注有“限制与说明”,表示该API在昇腾NPU上的支持度和原生版本存在差异,请务必查阅具体说明,以确保适配昇腾NPU平台。6> - 若API标注有“限制与说明”,表示该API在昇腾NPU上的支持度和原生版本存在差异,请务必查阅具体说明,以确保适配昇腾NPU平台。
7> - 部分API虽在[PyTorch社区文档](https://pytorch.org/docs/2.11/)中存在,但未收录于本支持清单。此类API尚未验证,请谨慎使用。我们将持续进行验证工作,并在验证完成后更新文档。7> - 部分API虽在[PyTorch社区文档](https://pytorch.org/docs/2.11/)中存在,但未收录于本支持清单。此类API尚未验证,请谨慎使用。我们将持续进行验证工作,并在验证完成后更新文档。
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9-> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://docs.pytorch.org/docs/2.11/user_guide/torch_compiler/torch.compiler.html)。9+> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://docs.pytorch.org/docs/2.11/torch.compiler_api.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [API Reference](#api-reference)13+## &#8203;torch.compiler
14 14 
15-## API Reference15+</div>
16 16 
17### torch.compiler.compile17### torch.compiler.compile
18 18 
@@ -8,10 +8,19 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/cpu.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/cpu.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Streams and events](#streams-and-events)14- [Streams and events](#streams-and-events)
14 15 
16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.cpu
21+ 
22+</div>
23+ 
15### torch.cpu.current_stream24### torch.cpu.current_stream
16 25 
17<div style="margin-left: 2em">26<div style="margin-left: 2em">
@@ -12,7 +12,8 @@
12> `torch.cuda.current_device` --> `torch.npu.current_device`12> `torch.cuda.current_device` --> `torch.npu.current_device`
13> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/cuda.html)。13> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/cuda.html)。
14 14 
15-## 目录15+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
16+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
16 17 
17- [Random Number Generator](#random-number-generator)18- [Random Number Generator](#random-number-generator)
18- [Communication collectives](#communication-collectives)19- [Communication collectives](#communication-collectives)
@@ -20,6 +21,14 @@
20- [Graphs (beta)](#graphs-beta)21- [Graphs (beta)](#graphs-beta)
21- [Memory management](#memory-management)22- [Memory management](#memory-management)
22 23 
24+</div>
25+ 
26+<div style="display:none;">
27+ 
28+## &#8203;torch.cuda
29+ 
30+</div>
31+ 
23### <code><i>class</i></code> torch.cuda.StreamContext32### <code><i>class</i></code> torch.cuda.StreamContext
24 33 
25<div style="margin-left: 2em">34<div style="margin-left: 2em">
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/distributed.algorithms.join.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/distributed.algorithms.join.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [Generic Join Context Manager](#generic-join-context-manager)13+## &#8203;torch.distributed.algorithms.join
14 14 
15-## Generic Join Context Manager15+</div>
16 16 
17### <code><i>class</i></code> torch.distributed.algorithms.Join17### <code><i>class</i></code> torch.distributed.algorithms.Join
18 18 
@@ -8,10 +8,19 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/distributed.checkpoint.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/distributed.checkpoint.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Additional resources](#additional-resources)14- [Additional resources](#additional-resources)
14 15 
16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.distributed.checkpoint
21+ 
22+</div>
23+ 
15## Additional resources24## Additional resources
16 25 
17### torch.distributed.checkpoint.state_dict_saver.save26### torch.distributed.checkpoint.state_dict_saver.save
@@ -8,16 +8,25 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://docs.pytorch.org/docs/2.11/distributed.elastic.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://docs.pytorch.org/docs/2.11/distributed.elastic.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Elastic Agent](#elastic-agent)14- [Elastic Agent](#elastic-agent)
14-- [Control Plane](#control-plane)
15- [Multiprocessing](#multiprocessing)15- [Multiprocessing](#multiprocessing)
16- [Error Propagation](#error-propagation)16- [Error Propagation](#error-propagation)
17- [Rendezvous](#rendezvous)17- [Rendezvous](#rendezvous)
18- [Expiration Timers](#expiration-timers)18- [Expiration Timers](#expiration-timers)
19- [Metrics](#metrics)19- [Metrics](#metrics)
20- [Events](#events)20- [Events](#events)
21+- [Control Plane](#control-plane)
22+ 
23+</div>
24+ 
25+<div style="display:none;">
26+ 
27+## &#8203;torch.distributed.elastic
28+ 
29+</div>
21 30 
22## Elastic Agent31## Elastic Agent
23 32 
@@ -421,24 +430,6 @@
421 430 
422</div>431</div>
423 432 
424-## Control Plane
425- 
426-### torch.distributed.elastic.control_plane.worker_main
427- 
428-<div style="margin-left: 2em">
429- 
430-**原生文档**:[torch.distributed.elastic.control_plane.worker_main](https://pytorch.org/docs/2.11/elastic/control_plane.html#torch.distributed.elastic.control_plane.worker_main)
431- 
432-**支持情况**:
433- 
434-| 硬件 | 是否支持 |
435-| ---- | :----: |
436-| <term>Atlas A2 训练系列产品</term> | ✔ |
437-| <term>Atlas A3 训练系列产品</term> | ✔ |
438-| <term>Ascend 950DT</term> | ✘ |
439- 
440-</div>
441- 
442## Multiprocessing433## Multiprocessing
443 434 
444### torch.distributed.elastic.multiprocessing.start_processes435### torch.distributed.elastic.multiprocessing.start_processes
@@ -1954,3 +1945,21 @@
1954| <term>Ascend 950DT</term> | ✘ |1945| <term>Ascend 950DT</term> | ✘ |
1955 1946 
1956</div>1947</div>
1948+ 
1949+## Control Plane
1950+ 
1951+### torch.distributed.elastic.control_plane.worker_main
1952+ 
1953+<div style="margin-left: 2em">
1954+ 
1955+**原生文档**:[torch.distributed.elastic.control_plane.worker_main](https://pytorch.org/docs/2.11/elastic/control_plane.html#torch.distributed.elastic.control_plane.worker_main)
1956+ 
1957+**支持情况**:
1958+ 
1959+| 硬件 | 是否支持 |
1960+| ---- | :----: |
1961+| <term>Atlas A2 训练系列产品</term> | ✔ |
1962+| <term>Atlas A3 训练系列产品</term> | ✔ |
1963+| <term>Ascend 950DT</term> | ✘ |
1964+ 
1965+</div>
@@ -8,11 +8,20 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/distributed.fsdp.fully_shard.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/distributed.fsdp.fully_shard.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13-- [PyTorch FSDP2](#pytorch-fsdp2)14+- [PyTorch FSDP2 (fully_shard)](#pytorch-fsdp2-fully_shard)
14 15 
15-## PyTorch FSDP216+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.distributed.fsdp.fully_shard
21+ 
22+</div>
23+ 
24+## PyTorch FSDP2 (fully_shard)
16 25 
17### torch.distributed.fsdp.fully_shard26### torch.distributed.fsdp.fully_shard
18 27 
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/fsdp.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/fsdp.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [FullyShardedDataParallel](#fullyshardeddataparallel)13+## &#8203;torch.distributed.fsdp
14 14 
15-## FullyShardedDataParallel15+</div>
16 16 
17### <code><i>class</i></code> torch.distributed.fsdp.FullyShardedDataParallel17### <code><i>class</i></code> torch.distributed.fsdp.FullyShardedDataParallel
18 18 
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/distributed.optim.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/distributed.optim.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [Distributed Optimizers](#distributed-optimizers)13+## &#8203;torch.distributed.optim
14 14 
15-## Distributed Optimizers15+</div>
16 16 
17### <code><i>class</i></code> torch.distributed.optim.DistributedOptimizer17### <code><i>class</i></code> torch.distributed.optim.DistributedOptimizer
18 18 
@@ -8,10 +8,19 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/distributed.pipelining.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/distributed.pipelining.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [API Reference](#api-reference)14- [API Reference](#api-reference)
14 15 
16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.distributed.pipelining
21+ 
22+</div>
23+ 
15## API Reference24## API Reference
16 25 
17### torch.distributed.pipelining.pipeline26### torch.distributed.pipelining.pipeline
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/distributed.tensor.parallel.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/distributed.tensor.parallel.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [Tensor Parallelism-torch.distributed.tensor.parallel](#tensor-parallelism-torchdistributedtensorparallel)13+## &#8203;torch.distributed.tensor.parallel
14 14 
15-## Tensor Parallelism-torch.distributed.tensor.parallel15+</div>
16 16 
17### torch.distributed.tensor.parallel.parallelize_module17### torch.distributed.tensor.parallel.parallelize_module
18 18 
@@ -8,12 +8,21 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/distributed.tensor.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/distributed.tensor.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [PyTorch DTensor (Distributed Tensor)](#pytorch-dtensor-distributed-tensor)14- [PyTorch DTensor (Distributed Tensor)](#pytorch-dtensor-distributed-tensor)
14- [Different ways to create a DTensor](#different-ways-to-create-a-dtensor)15- [Different ways to create a DTensor](#different-ways-to-create-a-dtensor)
15- [Experimental Features](#experimental-features)16- [Experimental Features](#experimental-features)
16 17 
18+</div>
19+ 
20+<div style="display:none;">
21+ 
22+## &#8203;torch.distributed.tensor
23+ 
24+</div>
25+ 
17## PyTorch DTensor (Distributed Tensor)26## PyTorch DTensor (Distributed Tensor)
18 27 
19### <code><i>class</i></code> torch.distributed.tensor.DTensor28### <code><i>class</i></code> torch.distributed.tensor.DTensor
@@ -8,7 +8,8 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/distributed.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/distributed.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Initialization](#initialization)14- [Initialization](#initialization)
14- [Post-Initialization](#post-initialization)15- [Post-Initialization](#post-initialization)
@@ -19,6 +20,14 @@
19- [Distributed Key-Value Store](#distributed-key-value-store)20- [Distributed Key-Value Store](#distributed-key-value-store)
20- [Logging](#logging)21- [Logging](#logging)
21 22 
23+</div>
24+ 
25+<div style="display:none;">
26+ 
27+## &#8203;torch.distributed
28+ 
29+</div>
30+ 
22## Initialization31## Initialization
23 32 
24### torch.distributed.is_available33### torch.distributed.is_available
@@ -8,7 +8,8 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/distributions.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/distributions.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Distribution](#distribution)14- [Distribution](#distribution)
14- [ExponentialFamily](#exponentialfamily)15- [ExponentialFamily](#exponentialfamily)
@@ -55,6 +56,14 @@
55- [Constraints](#constraints)56- [Constraints](#constraints)
56- [Constraint Registry](#constraint-registry)57- [Constraint Registry](#constraint-registry)
57 58 
59+</div>
60+ 
61+<div style="display:none;">
62+ 
63+## &#8203;torch.distributions
64+ 
65+</div>
66+ 
58## Distribution67## Distribution
59 68 
60### <code><i>class</i></code> torch.distributions.distribution.Distribution69### <code><i>class</i></code> torch.distributions.distribution.Distribution
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/user_guide/torch_compiler/export/api_reference.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/user_guide/torch_compiler/export/api_reference.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [torch.export API Reference](#torchexport-api-reference)13+## &#8203;torch.export
14 14 
15-## torch.export API Reference15+</div>
16 16 
17### torch.export.export17### torch.export.export
18 18 
@@ -13,11 +13,20 @@
13> `source {CANN包安装路径}/nnal/asdsip/set_env.sh`13> `source {CANN包安装路径}/nnal/asdsip/set_env.sh`
14> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/fft.html)。14> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/fft.html)。
15 15 
16-## 目录16+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
17+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
17 18 
18- [Fast Fourier Transforms](#fast-fourier-transforms)19- [Fast Fourier Transforms](#fast-fourier-transforms)
19- [Helper Functions](#helper-functions)20- [Helper Functions](#helper-functions)
20 21 
22+</div>
23+ 
24+<div style="display:none;">
25+ 
26+## &#8203;torch.fft
27+ 
28+</div>
29+ 
21## Fast Fourier Transforms30## Fast Fourier Transforms
22 31 
23### torch.fft.rfftn32### torch.fft.rfftn
@@ -8,11 +8,20 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://docs.pytorch.org/docs/2.11/func.api.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://docs.pytorch.org/docs/2.11/func.api.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Function Transforms](#function-transforms)14- [Function Transforms](#function-transforms)
14- [Utilities for working with torch.nn.Modules](#utilities-for-working-with-torchnnmodules)15- [Utilities for working with torch.nn.Modules](#utilities-for-working-with-torchnnmodules)
15 16 
17+</div>
18+ 
19+<div style="display:none;">
20+ 
21+## &#8203;torch.func
22+ 
23+</div>
24+ 
16## Function Transforms25## Function Transforms
17 26 
18### torch.func.grad_and_value27### torch.func.grad_and_value
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/futures.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/futures.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [API Reference](#api-reference)13+## &#8203;torch.futures
14 14 
15-## API Reference15+</div>
16 16 
17### <code><i>class</i></code> torch.futures.Future17### <code><i>class</i></code> torch.futures.Future
18 18 
@@ -9,11 +9,20 @@
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://docs.pytorch.org/docs/2.11/fx.experimental.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://docs.pytorch.org/docs/2.11/fx.experimental.html)。
10> - 原生社区提示torch.fx.experimental模块下的API属于实验性质,存在随时变更的风险,建议参考原生文档后谨慎使用。10> - 原生社区提示torch.fx.experimental模块下的API属于实验性质,存在随时变更的风险,建议参考原生文档后谨慎使用。
11 11 
12-## 目录12+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
13+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
13 14 
14- [torch.fx.experimental.symbolic_shapes](#torchfxexperimentalsymbolic_shapes)15- [torch.fx.experimental.symbolic_shapes](#torchfxexperimentalsymbolic_shapes)
15- [torch.fx.experimental.proxy_tensor](#torchfxexperimentalproxy_tensor)16- [torch.fx.experimental.proxy_tensor](#torchfxexperimentalproxy_tensor)
16 17 
18+</div>
19+ 
20+<div style="display:none;">
21+ 
22+## &#8203;torch.fx.experimental
23+ 
24+</div>
25+ 
17## torch.fx.experimental.symbolic_shapes26## torch.fx.experimental.symbolic_shapes
18 27 
19### <code><i>class</i></code> torch.fx.experimental.symbolic_shapes.ShapeEnv28### <code><i>class</i></code> torch.fx.experimental.symbolic_shapes.ShapeEnv
@@ -8,10 +8,19 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/fx.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/fx.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [API Reference](#api-reference)14- [API Reference](#api-reference)
14 15 
16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.fx
21+ 
22+</div>
23+ 
15## API Reference24## API Reference
16 25 
17### torch.fx.symbolic_trace26### torch.fx.symbolic_trace
@@ -8,10 +8,19 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/hub.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/hub.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Loading models from Hub](#loading-models-from-hub)14- [Loading models from Hub](#loading-models-from-hub)
14 15 
16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.hub
21+ 
22+</div>
23+ 
15## Loading models from Hub24## Loading models from Hub
16 25 
17### torch.hub.list26### torch.hub.list
@@ -8,10 +8,19 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/library.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/library.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Low-level APIs](#low-level-apis)14- [Low-level APIs](#low-level-apis)
14 15 
16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.library
21+ 
22+</div>
23+ 
15## Low-level APIs24## Low-level APIs
16 25 
17### <code><i>class</i></code> torch.library.Library26### <code><i>class</i></code> torch.library.Library
@@ -8,7 +8,8 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/linalg.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/linalg.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Matrix Properties](#matrix-properties)14- [Matrix Properties](#matrix-properties)
14- [Decompositions](#decompositions)15- [Decompositions](#decompositions)
@@ -16,6 +17,14 @@
16- [Matrix Products](#matrix-products)17- [Matrix Products](#matrix-products)
17- [Experimental Functions](#experimental-functions)18- [Experimental Functions](#experimental-functions)
18 19 
20+</div>
21+ 
22+<div style="display:none;">
23+ 
24+## &#8203;torch.linalg
25+ 
26+</div>
27+ 
19## Matrix Properties28## Matrix Properties
20 29 
21### torch.linalg.norm30### torch.linalg.norm
@@ -8,10 +8,19 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/monitor.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/monitor.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [API Reference](#api-reference)14- [API Reference](#api-reference)
14 15 
16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.monitor
21+ 
22+</div>
23+ 
15## API Reference24## API Reference
16 25 
17### <code><i>class</i></code> torch.monitor.Aggregation26### <code><i>class</i></code> torch.monitor.Aggregation
@@ -8,10 +8,19 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/nested.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/nested.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Detailed Docs for Construction and Conversion Functions](#detailed-docs-for-construction-and-conversion-functions)14- [Detailed Docs for Construction and Conversion Functions](#detailed-docs-for-construction-and-conversion-functions)
14 15 
16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.nested
21+ 
22+</div>
23+ 
15## Detailed Docs for Construction and Conversion Functions24## Detailed Docs for Construction and Conversion Functions
16 25 
17### torch.nested.nested_tensor26### torch.nested.nested_tensor
@@ -8,7 +8,8 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/nn.functional.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/nn.functional.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Convolution functions](#convolution-functions)14- [Convolution functions](#convolution-functions)
14- [Pooling functions](#pooling-functions)15- [Pooling functions](#pooling-functions)
@@ -22,6 +23,14 @@
22- [Vision functions](#vision-functions)23- [Vision functions](#vision-functions)
23- [Low-Precision functions](#low-precision-functions)24- [Low-Precision functions](#low-precision-functions)
24 25 
26+</div>
27+ 
28+<div style="display:none;">
29+ 
30+## &#8203;torch.nn.functional
31+ 
32+</div>
33+ 
25### torch.nn.parallel.data_parallel34### torch.nn.parallel.data_parallel
26 35 
27<div style="margin-left: 2em">36<div style="margin-left: 2em">
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/nn.init.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/nn.init.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [API Reference](#api-reference)13+## &#8203;torch.nn.init
14 14 
15-## API Reference15+</div>
16 16 
17### torch.nn.init.calculate_gain17### torch.nn.init.calculate_gain
18 18 
@@ -8,7 +8,8 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/nn.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/nn.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Containers](#containers)14- [Containers](#containers)
14- [Convolution Layers](#convolution-layers)15- [Convolution Layers](#convolution-layers)
@@ -29,6 +30,14 @@
29- [Utilities](#utilities)30- [Utilities](#utilities)
30- [Lazy Modules Initialization](#lazy-modules-initialization)31- [Lazy Modules Initialization](#lazy-modules-initialization)
31 32 
33+</div>
34+ 
35+<div style="display:none;">
36+ 
37+## &#8203;torch.nn
38+ 
39+</div>
40+ 
32### <code><i>class</i></code> torch.nn.parameter.Parameter41### <code><i>class</i></code> torch.nn.parameter.Parameter
33 42 
34<div style="margin-left: 2em">43<div style="margin-left: 2em">
@@ -8,10 +8,19 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/onnx.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/onnx.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [torch.onnx APIs](#torchonnx-apis)14- [torch.onnx APIs](#torchonnx-apis)
14 15 
16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.onnx
21+ 
22+</div>
23+ 
15## torch.onnx APIs24## torch.onnx APIs
16 25 
17### <code><i>class</i></code> torch.onnx.OnnxExporterError26### <code><i>class</i></code> torch.onnx.OnnxExporterError
@@ -8,12 +8,21 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/optim.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/optim.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Base class](#base-class)14- [Base class](#base-class)
14- [Algorithms](#algorithms)15- [Algorithms](#algorithms)
15- [How to adjust learning rate](#how-to-adjust-learning-rate)16- [How to adjust learning rate](#how-to-adjust-learning-rate)
16 17 
18+</div>
19+ 
20+<div style="display:none;">
21+ 
22+## &#8203;torch.optim
23+ 
24+</div>
25+ 
17## Base class26## Base class
18 27 
19### <code><i>class</i></code> torch.optim.Optimizer28### <code><i>class</i></code> torch.optim.Optimizer
@@ -8,10 +8,19 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/torch.overrides.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/torch.overrides.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Functions](#functions)14- [Functions](#functions)
14 15 
16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.overrides
21+ 
22+</div>
23+ 
15## Functions24## Functions
16 25 
17### torch.overrides.get_ignored_functions26### torch.overrides.get_ignored_functions
@@ -8,10 +8,19 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/package.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/package.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [API Reference](#api-reference)14- [API Reference](#api-reference)
14 15 
16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.package
21+ 
22+</div>
23+ 
15## API Reference24## API Reference
16 25 
17### <code><i>class</i></code> torch.package.EmptyMatchError26### <code><i>class</i></code> torch.package.EmptyMatchError
@@ -9,11 +9,20 @@
9> - 在使用支持的profiler接口时,需要将API名称替换为**NPU形式名称**才能使用,已支持的NPU形式profiler接口如下表所示。9> - 在使用支持的profiler接口时,需要将API名称替换为**NPU形式名称**才能使用,已支持的NPU形式profiler接口如下表所示。
10> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/profiler.html)。10> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/profiler.html)。
11 11 
12-## 目录12+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
13+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
13 14 
14- [API Reference](#api-reference)15- [API Reference](#api-reference)
15- [Intel Instrumentation and Tracing Technology APIs](#intel-instrumentation-and-tracing-technology-apis)16- [Intel Instrumentation and Tracing Technology APIs](#intel-instrumentation-and-tracing-technology-apis)
16 17 
18+</div>
19+ 
20+<div style="display:none;">
21+ 
22+## &#8203;torch.profiler
23+ 
24+</div>
25+ 
17## API Reference26## API Reference
18 27 
19### torch.profiler._KinetoProfile28### torch.profiler._KinetoProfile
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/random.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/random.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [API Reference](#api-reference)13+## &#8203;torch.random
14 14 
15-## API Reference15+</div>
16 16 
17### torch.random.fork_rng17### torch.random.fork_rng
18 18 
@@ -8,13 +8,22 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/sparse.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/sparse.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Supported operations](#supported-operations)14- [Supported operations](#supported-operations)
14 15 
16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.sparse
21+ 
22+</div>
23+ 
15## Supported operations24## Supported operations
16 25 
17-### <code><i>class</i></code> torch.sparse.Tensor26+### <code><i>class</i></code> torch.Tensor
18 27 
19<div style="margin-left: 2em">28<div style="margin-left: 2em">
20 29 
@@ -180,7 +189,21 @@
180 189 
181</div>190</div>
182 191 
183-### torch.sparse.check_sparse_tensor_invariants.disable192+### <code><i>class</i></code> torch.sparse.check_sparse_tensor_invariants
193+ 
194+<div style="margin-left: 2em">
195+ 
196+**原生文档**:[torch.sparse.check_sparse_tensor_invariants](https://pytorch.org/docs/2.11/generated/torch.sparse.check_sparse_tensor_invariants.html)
197+ 
198+**支持情况**:
199+ 
200+| 硬件 | 是否支持 |
201+| ---- | :----: |
202+| <term>Atlas A2 训练系列产品</term> | ✘ |
203+| <term>Atlas A3 训练系列产品</term> | ✘ |
204+| <term>Ascend 950DT</term> | ✘ |
205+ 
206+> <font size="3">disable()</font>
184 207 
185<div style="margin-left: 2em">208<div style="margin-left: 2em">
186 209 
@@ -196,7 +219,7 @@
196 219 
197</div>220</div>
198 221 
199-### torch.sparse.check_sparse_tensor_invariants.enable222+> <font size="3">enable()</font>
200 223 
201<div style="margin-left: 2em">224<div style="margin-left: 2em">
202 225 
@@ -212,7 +235,7 @@
212 235 
213</div>236</div>
214 237 
215-### torch.sparse.check_sparse_tensor_invariants.is_enabled238+> <font size="3">is_enabled()</font>
216 239 
217<div style="margin-left: 2em">240<div style="margin-left: 2em">
218 241 
@@ -228,6 +251,8 @@
228 251 
229</div>252</div>
230 253 
254+</div>
255+ 
231### torch.sparse_compressed_tensor256### torch.sparse_compressed_tensor
232 257 
233<div style="margin-left: 2em">258<div style="margin-left: 2em">
@@ -244,22 +269,6 @@
244 269 
245</div>270</div>
246 271 
247-### torch.sparse.check_sparse_tensor_invariants
248- 
249-<div style="margin-left: 2em">
250- 
251-**原生文档**:[torch.sparse.check_sparse_tensor_invariants](https://pytorch.org/docs/2.11/generated/torch.sparse.check_sparse_tensor_invariants.html)
252- 
253-**支持情况**:
254- 
255-| 硬件 | 是否支持 |
256-| ---- | :----: |
257-| <term>Atlas A2 训练系列产品</term> | ✘ |
258-| <term>Atlas A3 训练系列产品</term> | ✘ |
259-| <term>Ascend 950DT</term> | ✘ |
260- 
261-</div>
262- 
263### torch.sparse.as_sparse_gradcheck272### torch.sparse.as_sparse_gradcheck
264 273 
265<div style="margin-left: 2em">274<div style="margin-left: 2em">
@@ -8,10 +8,19 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/special.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/special.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Functions](#functions)14- [Functions](#functions)
14 15 
16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.special
21+ 
22+</div>
23+ 
15## Functions24## Functions
16 25 
17### torch.special.erf26### torch.special.erf
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/testing.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/testing.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [API Reference](#api-reference)13+## &#8203;torch.testing
14 14 
15-## API Reference15+</div>
16 16 
17### torch.testing.assert_close17### torch.testing.assert_close
18 18 
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/benchmark_utils.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/benchmark_utils.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [Benchmark Utils-torch.utils.benchmark](#benchmark-utils-torchutilsbenchmark)13+## &#8203;torch.utils.benchmark
14 14 
15-## Benchmark Utils-torch.utils.benchmark15+</div>
16 16 
17### <code><i>class</i></code> torch.utils.benchmark.Timer17### <code><i>class</i></code> torch.utils.benchmark.Timer
18 18 
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/checkpoint.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/checkpoint.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [API Reference](#api-reference)13+## &#8203;torch.utils.checkpoint
14 14 
15-## API Reference15+</div>
16 16 
17### torch.utils.checkpoint.checkpoint17### torch.utils.checkpoint.checkpoint
18 18 
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/cpp_extension.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/cpp_extension.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [torch.utils.cpp_extension](#torchutilscpp_extension)13+## &#8203;torch.utils.cpp\_extension
14 14 
15-## torch.utils.cpp_extension15+</div>
16 16 
17### <code><i>class</i></code> torch.utils.cpp_extension.CppExtension17### <code><i>class</i></code> torch.utils.cpp_extension.CppExtension
18 18 
@@ -8,10 +8,19 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/data.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/data.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Memory Pinning](#memory-pinning)14- [Memory Pinning](#memory-pinning)
14 15 
16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.utils.data
21+ 
22+</div>
23+ 
15### <code><i>class</i></code> torch.utils.data.IterDataPipe24### <code><i>class</i></code> torch.utils.data.IterDataPipe
16 25 
17<div style="margin-left: 2em">26<div style="margin-left: 2em">
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/deterministic.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/deterministic.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [API Reference](#api-reference)13+## &#8203;torch.utils.deterministic
14 14 
15-## API Reference15+</div>
16 16 
17### torch.utils.deterministic.fill_uninitialized_memory17### torch.utils.deterministic.fill_uninitialized_memory
18 18 
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/dlpack.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/dlpack.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [API Reference](#api-reference)13+## &#8203;torch.utils.dlpack
14 14 
15-## API Reference15+</div>
16 16 
17### torch.utils.dlpack.from_dlpack17### torch.utils.dlpack.from_dlpack
18 18 
@@ -7,12 +7,13 @@
7> - 部分API虽在[PyTorch社区文档](https://pytorch.org/docs/2.11/)中存在,但未收录于本支持清单。此类API尚未验证,请谨慎使用。我们将持续进行验证工作,并在验证完成后更新文档。7> - 部分API虽在[PyTorch社区文档](https://pytorch.org/docs/2.11/)中存在,但未收录于本支持清单。此类API尚未验证,请谨慎使用。我们将持续进行验证工作,并在验证完成后更新文档。
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/mobile_optimizer.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/mobile_optimizer.html)。
10+> - 原生社区已不再主动维护当前文档下的API,请谨慎使用。
10 11 
11-## 目录12+<div style="display:none;">
12 13 
13-- [torch.utils.mobile_optimizer](#torchutilsmobile_optimizer)14+## &#8203;torch.utils.mobile\_optimizer
14 15 
15-## torch.utils.mobile_optimizer16+</div>
16 17 
17### torch.utils.mobile_optimizer.optimize_for_mobile18### torch.utils.mobile_optimizer.optimize_for_mobile
18 19 
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/model_zoo.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/model_zoo.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [torch.utils.model_zoo](#torchutilsmodel_zoo)13+## &#8203;torch.utils.model\_zoo
14 14 
15-## torch.utils.model_zoo15+</div>
16 16 
17### torch.utils.model_zoo.load_url17### torch.utils.model_zoo.load_url
18 18 
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/tensorboard.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/tensorboard.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [API Reference](#api-reference)13+## &#8203;torch.utils.tensorboard
14 14 
15-## API Reference15+</div>
16 16 
17### <code><i>class</i></code> torch.utils.tensorboard.writer.SummaryWriter17### <code><i>class</i></code> torch.utils.tensorboard.writer.SummaryWriter
18 18 
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/utils.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/utils.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [API Reference](#api-reference)13+## &#8203;torch.utils
14 14 
15-## API Reference15+</div>
16 16 
17### torch.utils.rename_privateuse1_backend17### torch.utils.rename_privateuse1_backend
18 18 
@@ -8,7 +8,8 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/torch.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.11/torch.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Tensors](#tensors)14- [Tensors](#tensors)
14- [Generators](#generators)15- [Generators](#generators)
@@ -22,6 +23,14 @@
22- [Optimizations](#optimizations)23- [Optimizations](#optimizations)
23- [Operator Tags](#operator-tags)24- [Operator Tags](#operator-tags)
24 25 
26+</div>
27+ 
28+<div style="display:none;">
29+ 
30+## &#8203;torch
31+ 
32+</div>
33+ 
25## Tensors34## Tensors
26 35 
27### torch.is_tensor36### torch.is_tensor
@@ -8,13 +8,22 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/ddp_comm_hooks.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/ddp_comm_hooks.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [What Does a Communication Hook Operate On?](#what-does-a-communication-hook-operate-on)14- [What Does a Communication Hook Operate On?](#what-does-a-communication-hook-operate-on)
14- [Default Communication Hooks](#default-communication-hooks)15- [Default Communication Hooks](#default-communication-hooks)
15- [PowerSGD Communication Hook](#powersgd-communication-hook)16- [PowerSGD Communication Hook](#powersgd-communication-hook)
16- [Debugging Communication Hooks](#debugging-communication-hooks)17- [Debugging Communication Hooks](#debugging-communication-hooks)
17 18 
19+</div>
20+ 
21+<div style="display:none;">
22+ 
23+## &#8203;DDP Communication Hooks
24+ 
25+</div>
26+ 
18## What Does a Communication Hook Operate On?27## What Does a Communication Hook Operate On?
19 28 
20### <code><i>class</i></code> torch.distributed.GradBucket29### <code><i>class</i></code> torch.distributed.GradBucket
@@ -8,13 +8,22 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/rpc.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/rpc.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [RPC](#rpc)14- [RPC](#rpc)
14- [RRef](#rref)15- [RRef](#rref)
15- [RemoteModule](#remotemodule)16- [RemoteModule](#remotemodule)
16- [Distributed Autograd Framework](#distributed-autograd-framework)17- [Distributed Autograd Framework](#distributed-autograd-framework)
17 18 
19+</div>
20+ 
21+<div style="display:none;">
22+ 
23+## &#8203;Distributed RPC Framework
24+ 
25+</div>
26+ 
18## RPC27## RPC
19 28 
20### torch.distributed.rpc.init_rpc29### torch.distributed.rpc.init_rpc
@@ -8,11 +8,20 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/named_tensor.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/named_tensor.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13-- [Tensor class reference](#tensor-class-reference)14+- [Named tensor API reference](#named-tensor-api-reference)
14 15 
15-## Tensor class reference16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;Named Tensors
21+ 
22+</div>
23+ 
24+## Named tensor API reference
16 25 
17### <code><i>class</i></code> torch.Tensor26### <code><i>class</i></code> torch.Tensor
18 27 
@@ -8,7 +8,8 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://docs.pytorch.org/docs/2.12/quantization-support.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://docs.pytorch.org/docs/2.12/quantization-support.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [torch.ao.quantization](#torchaoquantization)14- [torch.ao.quantization](#torchaoquantization)
14- [torch.ao.quantization.qconfig_mapping](#torchaoquantizationqconfig_mapping)15- [torch.ao.quantization.qconfig_mapping](#torchaoquantizationqconfig_mapping)
@@ -23,6 +24,14 @@
23- [torch.ao.nn.quantizable](#torchaonnquantizable)24- [torch.ao.nn.quantizable](#torchaonnquantizable)
24- [torch.ao.nn.quantized.dynamic](#torchaonnquantizeddynamic)25- [torch.ao.nn.quantized.dynamic](#torchaonnquantizeddynamic)
25 26 
27+</div>
28+ 
29+<div style="display:none;">
30+ 
31+## &#8203;Quantization
32+ 
33+</div>
34+ 
26### torch.ao.ns.fx.utils.compute_sqnr35### torch.ao.ns.fx.utils.compute_sqnr
27 36 
28<div style="margin-left: 2em">37<div style="margin-left: 2em">
@@ -8,12 +8,21 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/tensor_attributes.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/tensor_attributes.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [torch.dtype](#torchdtype)14- [torch.dtype](#torchdtype)
14- [torch.device](#torchdevice)15- [torch.device](#torchdevice)
15- [torch.layout](#torchlayout)16- [torch.layout](#torchlayout)
16 17 
18+</div>
19+ 
20+<div style="display:none;">
21+ 
22+## &#8203;Tensor Attributes
23+ 
24+</div>
25+ 
17## torch.dtype26## torch.dtype
18 27 
19### torch.dtype28### torch.dtype
@@ -8,13 +8,23 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/type_info.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/type_info.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13-- [API Reference](#api-reference)14+- [torch.finfo](#torchfinfo)
15+- [torch.iinfo](#torchiinfo)
14 16 
15-## API Reference17+</div>
16 18 
17-### torch.finfo19+<div style="display:none;">
20+ 
21+## &#8203;Type Info
22+ 
23+</div>
24+ 
25+## torch.finfo
26+ 
27+### <code><i>class</i></code> torch.finfo
18 28 
19<div style="margin-left: 2em">29<div style="margin-left: 2em">
20 30 
@@ -30,7 +40,9 @@
30 40 
31</div>41</div>
32 42 
33-### torch.iinfo43+## torch.iinfo
44+ 
45+### <code><i>class</i></code> torch.iinfo
34 46 
35<div style="margin-left: 2em">47<div style="margin-left: 2em">
36 48 
@@ -8,11 +8,20 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/storage.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/storage.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Special cases](#special-cases)14- [Special cases](#special-cases)
14- [Legacy Typed Storage](#legacy-typed-storage)15- [Legacy Typed Storage](#legacy-typed-storage)
15 16 
17+</div>
18+ 
19+<div style="display:none;">
20+ 
21+## &#8203;torch.Storage
22+ 
23+</div>
24+ 
16## Special cases25## Special cases
17 26 
18### <code><i>class</i></code> torch.UntypedStorage27### <code><i>class</i></code> torch.UntypedStorage
@@ -8,10 +8,19 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/tensors.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/tensors.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Tensor class reference](#tensor-class-reference)14- [Tensor class reference](#tensor-class-reference)
14 15 
16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.Tensor
21+ 
22+</div>
23+ 
15## Tensor class reference24## Tensor class reference
16 25 
17### <code><i>class</i></code> torch.Tensor26### <code><i>class</i></code> torch.Tensor
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/config_mod.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/config_mod.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [torch.config](#torchconfig)13+## &#8203;torch.\_\_config\_\_
14 14 
15-## torch.config15+</div>
16 16 
17### torch.\_\_config\_\_.show17### torch.\_\_config\_\_.show
18 18 
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/accelerator.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/accelerator.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [API Reference](#api-reference)13+## &#8203;torch.accelerator
14 14 
15-## API Reference15+</div>
16 16 
17### torch.accelerator.device_count17### torch.accelerator.device_count
18 18 
@@ -8,11 +8,20 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/amp.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/amp.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Autocasting](#autocasting)14- [Autocasting](#autocasting)
14- [Gradient Scaling](#gradient-scaling)15- [Gradient Scaling](#gradient-scaling)
15 16 
17+</div>
18+ 
19+<div style="display:none;">
20+ 
21+## &#8203;torch.amp
22+ 
23+</div>
24+ 
16## Autocasting25## Autocasting
17 26 
18### torch.cuda.amp.autocast27### torch.cuda.amp.autocast
@@ -8,18 +8,63 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/autograd.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/autograd.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Forward-mode Automatic Differentiation](#forward-mode-automatic-differentiation)14- [Forward-mode Automatic Differentiation](#forward-mode-automatic-differentiation)
14- [Functional higher level API](#functional-higher-level-api)15- [Functional higher level API](#functional-higher-level-api)
15-- [Default gradient layouts](#default-gradient-layouts)
16-- [Tensor autograd functions](#tensor-autograd-functions)
17- [Function](#function)16- [Function](#function)
17+- [Context method mixins](#context-method-mixins)
18- [Numerical gradient checking](#numerical-gradient-checking)18- [Numerical gradient checking](#numerical-gradient-checking)
19- [Profiler](#profiler)19- [Profiler](#profiler)
20- [Debugging and anomaly detection](#debugging-and-anomaly-detection)20- [Debugging and anomaly detection](#debugging-and-anomaly-detection)
21- [Autograd graph](#autograd-graph)21- [Autograd graph](#autograd-graph)
22 22 
23+</div>
24+ 
25+<div style="display:none;">
26+ 
27+## &#8203;torch.autograd
28+ 
29+</div>
30+ 
31+### torch.autograd.backward
32+ 
33+<div style="margin-left: 2em">
34+ 
35+**原生文档**:[torch.autograd.backward](https://pytorch.org/docs/2.12/generated/torch.autograd.backward.html)
36+ 
37+**支持情况**:
38+ 
39+| 硬件 | 是否支持 |
40+| ---- | :----: |
41+| <term>Atlas A2 训练系列产品</term> | ✔ |
42+| <term>Atlas A3 训练系列产品</term> | ✔ |
43+| <term>Ascend 950DT</term> | ✔ |
44+ 
45+**限制与说明**:
46+ 
47+- `input`仅支持bf16,fp16,fp32,fp64
48+- 不支持稀疏张量
49+ 
50+</div>
51+ 
52+### torch.autograd.grad
53+ 
54+<div style="margin-left: 2em">
55+ 
56+**原生文档**:[torch.autograd.grad](https://pytorch.org/docs/2.12/generated/torch.autograd.grad.html)
57+ 
58+**支持情况**:
59+ 
60+| 硬件 | 是否支持 |
61+| ---- | :----: |
62+| <term>Atlas A2 训练系列产品</term> | ✔ |
63+| <term>Atlas A3 训练系列产品</term> | ✔ |
64+| <term>Ascend 950DT</term> | ✔ |
65+ 
66+</div>
67+ 
23## Forward-mode Automatic Differentiation68## Forward-mode Automatic Differentiation
24 69 
25### torch.autograd.forward_ad.dual_level70### torch.autograd.forward_ad.dual_level
@@ -404,47 +449,6 @@
404 449 
405</div>450</div>
406 451 
407-## Default gradient layouts
408- 
409-### torch.autograd.backward
410- 
411-<div style="margin-left: 2em">
412- 
413-**原生文档**:[torch.autograd.backward](https://pytorch.org/docs/2.12/generated/torch.autograd.backward.html)
414- 
415-**支持情况**:
416- 
417-| 硬件 | 是否支持 |
418-| ---- | :----: |
419-| <term>Atlas A2 训练系列产品</term> | ✔ |
420-| <term>Atlas A3 训练系列产品</term> | ✔ |
421-| <term>Ascend 950DT</term> | ✔ |
422- 
423-**限制与说明**:
424- 
425-- `input`仅支持bf16,fp16,fp32,fp64
426-- 不支持稀疏张量
427- 
428-</div>
429- 
430-## Tensor autograd functions
431- 
432-### torch.autograd.grad
433- 
434-<div style="margin-left: 2em">
435- 
436-**原生文档**:[torch.autograd.grad](https://pytorch.org/docs/2.12/generated/torch.autograd.grad.html)
437- 
438-**支持情况**:
439- 
440-| 硬件 | 是否支持 |
441-| ---- | :----: |
442-| <term>Atlas A2 训练系列产品</term> | ✔ |
443-| <term>Atlas A3 训练系列产品</term> | ✔ |
444-| <term>Ascend 950DT</term> | ✔ |
445- 
446-</div>
447- 
448## Function452## Function
449 453 
450### <code><i>class</i></code> torch.autograd.Function454### <code><i>class</i></code> torch.autograd.Function
@@ -527,6 +531,78 @@
527 531 
528</div>532</div>
529 533 
534+## Context method mixins
535+ 
536+### <code><i>class</i></code> torch.autograd.function.FunctionCtx
537+ 
538+<div style="margin-left: 2em">
539+ 
540+> <font size="3">mark_dirty()</font>
541+ 
542+<div style="margin-left: 2em">
543+ 
544+**原生文档**:[torch.autograd.function.FunctionCtx.mark_dirty](https://pytorch.org/docs/2.12/generated/torch.autograd.function.FunctionCtx.mark_dirty.html)
545+ 
546+**支持情况**:
547+ 
548+| 硬件 | 是否支持 |
549+| ---- | :----: |
550+| <term>Atlas A2 训练系列产品</term> | ✔ |
551+| <term>Atlas A3 训练系列产品</term> | ✔ |
552+| <term>Ascend 950DT</term> | ✘ |
553+ 
554+</div>
555+ 
556+> <font size="3">mark_non_differentiable()</font>
557+ 
558+<div style="margin-left: 2em">
559+ 
560+**原生文档**:[torch.autograd.function.FunctionCtx.mark_non_differentiable](https://pytorch.org/docs/2.12/generated/torch.autograd.function.FunctionCtx.mark_non_differentiable.html)
561+ 
562+**支持情况**:
563+ 
564+| 硬件 | 是否支持 |
565+| ---- | :----: |
566+| <term>Atlas A2 训练系列产品</term> | ✔ |
567+| <term>Atlas A3 训练系列产品</term> | ✔ |
568+| <term>Ascend 950DT</term> | ✘ |
569+ 
570+</div>
571+ 
572+> <font size="3">save_for_backward()</font>
573+ 
574+<div style="margin-left: 2em">
575+ 
576+**原生文档**:[torch.autograd.function.FunctionCtx.save_for_backward](https://pytorch.org/docs/2.12/generated/torch.autograd.function.FunctionCtx.save_for_backward.html)
577+ 
578+**支持情况**:
579+ 
580+| 硬件 | 是否支持 |
581+| ---- | :----: |
582+| <term>Atlas A2 训练系列产品</term> | ✔ |
583+| <term>Atlas A3 训练系列产品</term> | ✔ |
584+| <term>Ascend 950DT</term> | ✘ |
585+ 
586+</div>
587+ 
588+> <font size="3">set_materialize_grads()</font>
589+ 
590+<div style="margin-left: 2em">
591+ 
592+**原生文档**:[torch.autograd.function.FunctionCtx.set_materialize_grads](https://pytorch.org/docs/2.12/generated/torch.autograd.function.FunctionCtx.set_materialize_grads.html)
593+ 
594+**支持情况**:
595+ 
596+| 硬件 | 是否支持 |
597+| ---- | :----: |
598+| <term>Atlas A2 训练系列产品</term> | ✔ |
599+| <term>Atlas A3 训练系列产品</term> | ✔ |
600+| <term>Ascend 950DT</term> | ✘ |
601+ 
602+</div>
603+ 
604+</div>
605+ 
530## Numerical gradient checking606## Numerical gradient checking
531 607 
532### torch.autograd.gradcheck.gradcheck608### torch.autograd.gradcheck.gradcheck
@@ -586,6 +662,70 @@ with torch.autograd.profiler.profile(use_device="npu") as prof:
586 662 
587</div>663</div>
588 664 
665+### profile.export_chrome_trace
666+ 
667+<div style="margin-left: 2em">
668+ 
669+**原生文档**:[profile.export_chrome_trace](https://pytorch.org/docs/2.12/generated/torch.autograd.profiler.profile.export_chrome_trace.html)
670+ 
671+**支持情况**:
672+ 
673+| 硬件 | 是否支持 |
674+| ---- | :----: |
675+| <term>Atlas A2 训练系列产品</term> | ✔ |
676+| <term>Atlas A3 训练系列产品</term> | ✔ |
677+| <term>Ascend 950DT</term> | ✘ |
678+ 
679+</div>
680+ 
681+### profile.key_averages
682+ 
683+<div style="margin-left: 2em">
684+ 
685+**原生文档**:[profile.key_averages](https://pytorch.org/docs/2.12/generated/torch.autograd.profiler.profile.key_averages.html)
686+ 
687+**支持情况**:
688+ 
689+| 硬件 | 是否支持 |
690+| ---- | :----: |
691+| <term>Atlas A2 训练系列产品</term> | ✔ |
692+| <term>Atlas A3 训练系列产品</term> | ✔ |
693+| <term>Ascend 950DT</term> | ✘ |
694+ 
695+</div>
696+ 
697+### profile.self_cpu_time_total
698+ 
699+<div style="margin-left: 2em">
700+ 
701+**原生文档**:[profile.self_cpu_time_total](https://pytorch.org/docs/2.12/generated/torch.autograd.profiler.profile.self_cpu_time_total.html)
702+ 
703+**支持情况**:
704+ 
705+| 硬件 | 是否支持 |
706+| ---- | :----: |
707+| <term>Atlas A2 训练系列产品</term> | ✔ |
708+| <term>Atlas A3 训练系列产品</term> | ✔ |
709+| <term>Ascend 950DT</term> | ✘ |
710+ 
711+</div>
712+ 
713+### profile.total_average
714+ 
715+<div style="margin-left: 2em">
716+ 
717+**原生文档**:[profile.total_average](https://pytorch.org/docs/2.12/generated/torch.autograd.profiler.profile.total_average.html)
718+ 
719+**支持情况**:
720+ 
721+| 硬件 | 是否支持 |
722+| ---- | :----: |
723+| <term>Atlas A2 训练系列产品</term> | ✔ |
724+| <term>Atlas A3 训练系列产品</term> | ✔ |
725+| <term>Ascend 950DT</term> | ✘ |
726+ 
727+</div>
728+ 
589### torch.autograd.profiler.emit_nvtx729### torch.autograd.profiler.emit_nvtx
590 730 
591<div style="margin-left: 2em">731<div style="margin-left: 2em">
@@ -750,6 +890,92 @@ with torch.autograd.profiler.profile(use_device="npu") as prof:
750 890 
751## Autograd graph891## Autograd graph
752 892 
893+### <code><i>class</i></code> torch.autograd.graph.Node
894+ 
895+<div style="margin-left: 2em">
896+ 
897+> <font size="3">name()</font>
898+ 
899+<div style="margin-left: 2em">
900+ 
901+**原生文档**:[Node.name](https://pytorch.org/docs/2.12/generated/torch.autograd.graph.Node.name.html)
902+ 
903+**支持情况**:
904+ 
905+| 硬件 | 是否支持 |
906+| ---- | :----: |
907+| <term>Atlas A2 训练系列产品</term> | ✔ |
908+| <term>Atlas A3 训练系列产品</term> | ✔ |
909+| <term>Ascend 950DT</term> | ✘ |
910+ 
911+</div>
912+ 
913+> <font size="3">metadata()</font>
914+ 
915+<div style="margin-left: 2em">
916+ 
917+**原生文档**:[Node.metadata](https://pytorch.org/docs/2.12/generated/torch.autograd.graph.Node.metadata.html)
918+ 
919+**支持情况**:
920+ 
921+| 硬件 | 是否支持 |
922+| ---- | :----: |
923+| <term>Atlas A2 训练系列产品</term> | ✔ |
924+| <term>Atlas A3 训练系列产品</term> | ✔ |
925+| <term>Ascend 950DT</term> | ✘ |
926+ 
927+</div>
928+ 
929+> <font size="3">next_functions()</font>
930+ 
931+<div style="margin-left: 2em">
932+ 
933+**原生文档**:[Node.next_functions](https://pytorch.org/docs/2.12/generated/torch.autograd.graph.Node.next_functions.html)
934+ 
935+**支持情况**:
936+ 
937+| 硬件 | 是否支持 |
938+| ---- | :----: |
939+| <term>Atlas A2 训练系列产品</term> | ✔ |
940+| <term>Atlas A3 训练系列产品</term> | ✔ |
941+| <term>Ascend 950DT</term> | ✘ |
942+ 
943+</div>
944+ 
945+> <font size="3">register_hook()</font>
946+ 
947+<div style="margin-left: 2em">
948+ 
949+**原生文档**:[Node.register_hook](https://pytorch.org/docs/2.12/generated/torch.autograd.graph.Node.register_hook.html)
950+ 
951+**支持情况**:
952+ 
953+| 硬件 | 是否支持 |
954+| ---- | :----: |
955+| <term>Atlas A2 训练系列产品</term> | ✔ |
956+| <term>Atlas A3 训练系列产品</term> | ✔ |
957+| <term>Ascend 950DT</term> | ✘ |
958+ 
959+</div>
960+ 
961+> <font size="3">register_prehook()</font>
962+ 
963+<div style="margin-left: 2em">
964+ 
965+**原生文档**:[Node.register_prehook](https://pytorch.org/docs/2.12/generated/torch.autograd.graph.Node.register_prehook.html)
966+ 
967+**支持情况**:
968+ 
969+| 硬件 | 是否支持 |
970+| ---- | :----: |
971+| <term>Atlas A2 训练系列产品</term> | ✔ |
972+| <term>Atlas A3 训练系列产品</term> | ✔ |
973+| <term>Ascend 950DT</term> | ✘ |
974+ 
975+</div>
976+ 
977+</div>
978+ 
753### torch.autograd.graph.saved_tensors_hooks979### torch.autograd.graph.saved_tensors_hooks
754 980 
755<div style="margin-left: 2em">981<div style="margin-left: 2em">
@@ -8,7 +8,8 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/backends.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/backends.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [torch.backends.cpu](#torchbackendscpu)14- [torch.backends.cpu](#torchbackendscpu)
14- [torch.backends.cuda](#torchbackendscuda)15- [torch.backends.cuda](#torchbackendscuda)
@@ -19,6 +20,14 @@
19- [torch.backends.openmp](#torchbackendsopenmp)20- [torch.backends.openmp](#torchbackendsopenmp)
20- [torch.backends.opt_einsum](#torchbackendsopt_einsum)21- [torch.backends.opt_einsum](#torchbackendsopt_einsum)
21 22 
23+</div>
24+ 
25+<div style="display:none;">
26+ 
27+## &#8203;torch.backends
28+ 
29+</div>
30+ 
22## torch.backends.cpu31## torch.backends.cpu
23 32 
24### torch.backends.cpu.get_cpu_capability33### torch.backends.cpu.get_cpu_capability
@@ -6,13 +6,13 @@
6> - 若API标注有“限制与说明”,表示该API在昇腾NPU上的支持度和原生版本存在差异,请务必查阅具体说明,以确保适配昇腾NPU平台。6> - 若API标注有“限制与说明”,表示该API在昇腾NPU上的支持度和原生版本存在差异,请务必查阅具体说明,以确保适配昇腾NPU平台。
7> - 部分API虽在[PyTorch社区文档](https://pytorch.org/docs/2.12/)中存在,但未收录于本支持清单。此类API尚未验证,请谨慎使用。我们将持续进行验证工作,并在验证完成后更新文档。7> - 部分API虽在[PyTorch社区文档](https://pytorch.org/docs/2.12/)中存在,但未收录于本支持清单。此类API尚未验证,请谨慎使用。我们将持续进行验证工作,并在验证完成后更新文档。
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9-> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://docs.pytorch.org/docs/2.12/user_guide/torch_compiler/torch.compiler.html)。9+> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://docs.pytorch.org/docs/2.12/torch.compiler_api.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [API Reference](#api-reference)13+## &#8203;torch.compiler
14 14 
15-## API Reference15+</div>
16 16 
17### torch.compiler.compile17### torch.compiler.compile
18 18 
@@ -8,10 +8,19 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/cpu.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/cpu.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Streams and events](#streams-and-events)14- [Streams and events](#streams-and-events)
14 15 
16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.cpu
21+ 
22+</div>
23+ 
15### torch.cpu.current_stream24### torch.cpu.current_stream
16 25 
17<div style="margin-left: 2em">26<div style="margin-left: 2em">
@@ -12,7 +12,8 @@
12> `torch.cuda.current_device` --> `torch.npu.current_device`12> `torch.cuda.current_device` --> `torch.npu.current_device`
13> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/cuda.html)。13> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/cuda.html)。
14 14 
15-## 目录15+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
16+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
16 17 
17- [Random Number Generator](#random-number-generator)18- [Random Number Generator](#random-number-generator)
18- [Communication collectives](#communication-collectives)19- [Communication collectives](#communication-collectives)
@@ -20,6 +21,14 @@
20- [Graphs (beta)](#graphs-beta)21- [Graphs (beta)](#graphs-beta)
21- [Memory management](#memory-management)22- [Memory management](#memory-management)
22 23 
24+</div>
25+ 
26+<div style="display:none;">
27+ 
28+## &#8203;torch.cuda
29+ 
30+</div>
31+ 
23### <code><i>class</i></code> torch.cuda.StreamContext32### <code><i>class</i></code> torch.cuda.StreamContext
24 33 
25<div style="margin-left: 2em">34<div style="margin-left: 2em">
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/distributed.algorithms.join.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/distributed.algorithms.join.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [Generic Join Context Manager](#generic-join-context-manager)13+## &#8203;torch.distributed.algorithms.join
14 14 
15-## Generic Join Context Manager15+</div>
16 16 
17### <code><i>class</i></code> torch.distributed.algorithms.Join17### <code><i>class</i></code> torch.distributed.algorithms.Join
18 18 
@@ -8,10 +8,19 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/distributed.checkpoint.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/distributed.checkpoint.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Additional resources](#additional-resources)14- [Additional resources](#additional-resources)
14 15 
16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.distributed.checkpoint
21+ 
22+</div>
23+ 
15## Additional resources24## Additional resources
16 25 
17### torch.distributed.checkpoint.state_dict_saver.save26### torch.distributed.checkpoint.state_dict_saver.save
@@ -8,16 +8,25 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://docs.pytorch.org/docs/2.12/distributed.elastic.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://docs.pytorch.org/docs/2.12/distributed.elastic.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Elastic Agent](#elastic-agent)14- [Elastic Agent](#elastic-agent)
14-- [Control Plane](#control-plane)
15- [Multiprocessing](#multiprocessing)15- [Multiprocessing](#multiprocessing)
16- [Error Propagation](#error-propagation)16- [Error Propagation](#error-propagation)
17- [Rendezvous](#rendezvous)17- [Rendezvous](#rendezvous)
18- [Expiration Timers](#expiration-timers)18- [Expiration Timers](#expiration-timers)
19- [Metrics](#metrics)19- [Metrics](#metrics)
20- [Events](#events)20- [Events](#events)
21+- [Control Plane](#control-plane)
22+ 
23+</div>
24+ 
25+<div style="display:none;">
26+ 
27+## &#8203;torch.distributed.elastic
28+ 
29+</div>
21 30 
22## Elastic Agent31## Elastic Agent
23 32 
@@ -421,24 +430,6 @@
421 430 
422</div>431</div>
423 432 
424-## Control Plane
425- 
426-### torch.distributed.elastic.control_plane.worker_main
427- 
428-<div style="margin-left: 2em">
429- 
430-**原生文档**:[torch.distributed.elastic.control_plane.worker_main](https://pytorch.org/docs/2.12/elastic/control_plane.html#torch.distributed.elastic.control_plane.worker_main)
431- 
432-**支持情况**:
433- 
434-| 硬件 | 是否支持 |
435-| ---- | :----: |
436-| <term>Atlas A2 训练系列产品</term> | ✔ |
437-| <term>Atlas A3 训练系列产品</term> | ✔ |
438-| <term>Ascend 950DT</term> | ✘ |
439- 
440-</div>
441- 
442## Multiprocessing433## Multiprocessing
443 434 
444### torch.distributed.elastic.multiprocessing.start_processes435### torch.distributed.elastic.multiprocessing.start_processes
@@ -1954,3 +1945,21 @@
1954| <term>Ascend 950DT</term> | ✘ |1945| <term>Ascend 950DT</term> | ✘ |
1955 1946 
1956</div>1947</div>
1948+ 
1949+## Control Plane
1950+ 
1951+### torch.distributed.elastic.control_plane.worker_main
1952+ 
1953+<div style="margin-left: 2em">
1954+ 
1955+**原生文档**:[torch.distributed.elastic.control_plane.worker_main](https://pytorch.org/docs/2.12/elastic/control_plane.html#torch.distributed.elastic.control_plane.worker_main)
1956+ 
1957+**支持情况**:
1958+ 
1959+| 硬件 | 是否支持 |
1960+| ---- | :----: |
1961+| <term>Atlas A2 训练系列产品</term> | ✔ |
1962+| <term>Atlas A3 训练系列产品</term> | ✔ |
1963+| <term>Ascend 950DT</term> | ✘ |
1964+ 
1965+</div>
@@ -8,11 +8,20 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/distributed.fsdp.fully_shard.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/distributed.fsdp.fully_shard.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13-- [PyTorch FSDP2](#pytorch-fsdp2)14+- [PyTorch FSDP2 (fully_shard)](#pytorch-fsdp2-fully_shard)
14 15 
15-## PyTorch FSDP216+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.distributed.fsdp.fully_shard
21+ 
22+</div>
23+ 
24+## PyTorch FSDP2 (fully_shard)
16 25 
17### torch.distributed.fsdp.fully_shard26### torch.distributed.fsdp.fully_shard
18 27 
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/fsdp.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/fsdp.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [FullyShardedDataParallel](#fullyshardeddataparallel)13+## &#8203;torch.distributed.fsdp
14 14 
15-## FullyShardedDataParallel15+</div>
16 16 
17### <code><i>class</i></code> torch.distributed.fsdp.FullyShardedDataParallel17### <code><i>class</i></code> torch.distributed.fsdp.FullyShardedDataParallel
18 18 
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/distributed.optim.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/distributed.optim.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [Distributed Optimizers](#distributed-optimizers)13+## &#8203;torch.distributed.optim
14 14 
15-## Distributed Optimizers15+</div>
16 16 
17### <code><i>class</i></code> torch.distributed.optim.DistributedOptimizer17### <code><i>class</i></code> torch.distributed.optim.DistributedOptimizer
18 18 
@@ -8,10 +8,19 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/distributed.pipelining.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/distributed.pipelining.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [API Reference](#api-reference)14- [API Reference](#api-reference)
14 15 
16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.distributed.pipelining
21+ 
22+</div>
23+ 
15## API Reference24## API Reference
16 25 
17### torch.distributed.pipelining.pipeline26### torch.distributed.pipelining.pipeline
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/distributed.tensor.parallel.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/distributed.tensor.parallel.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [Tensor Parallelism-torch.distributed.tensor.parallel](#tensor-parallelism-torchdistributedtensorparallel)13+## &#8203;torch.distributed.tensor.parallel
14 14 
15-## Tensor Parallelism-torch.distributed.tensor.parallel15+</div>
16 16 
17### torch.distributed.tensor.parallel.parallelize_module17### torch.distributed.tensor.parallel.parallelize_module
18 18 
@@ -8,12 +8,21 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/distributed.tensor.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/distributed.tensor.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [PyTorch DTensor (Distributed Tensor)](#pytorch-dtensor-distributed-tensor)14- [PyTorch DTensor (Distributed Tensor)](#pytorch-dtensor-distributed-tensor)
14- [Different ways to create a DTensor](#different-ways-to-create-a-dtensor)15- [Different ways to create a DTensor](#different-ways-to-create-a-dtensor)
15- [Experimental Features](#experimental-features)16- [Experimental Features](#experimental-features)
16 17 
18+</div>
19+ 
20+<div style="display:none;">
21+ 
22+## &#8203;torch.distributed.tensor
23+ 
24+</div>
25+ 
17## PyTorch DTensor (Distributed Tensor)26## PyTorch DTensor (Distributed Tensor)
18 27 
19### <code><i>class</i></code> torch.distributed.tensor.DTensor28### <code><i>class</i></code> torch.distributed.tensor.DTensor
@@ -8,7 +8,8 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/distributed.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/distributed.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Initialization](#initialization)14- [Initialization](#initialization)
14- [Post-Initialization](#post-initialization)15- [Post-Initialization](#post-initialization)
@@ -19,6 +20,14 @@
19- [Distributed Key-Value Store](#distributed-key-value-store)20- [Distributed Key-Value Store](#distributed-key-value-store)
20- [Logging](#logging)21- [Logging](#logging)
21 22 
23+</div>
24+ 
25+<div style="display:none;">
26+ 
27+## &#8203;torch.distributed
28+ 
29+</div>
30+ 
22## Initialization31## Initialization
23 32 
24### torch.distributed.is_available33### torch.distributed.is_available
@@ -8,7 +8,8 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/distributions.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/distributions.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Distribution](#distribution)14- [Distribution](#distribution)
14- [ExponentialFamily](#exponentialfamily)15- [ExponentialFamily](#exponentialfamily)
@@ -55,6 +56,14 @@
55- [Constraints](#constraints)56- [Constraints](#constraints)
56- [Constraint Registry](#constraint-registry)57- [Constraint Registry](#constraint-registry)
57 58 
59+</div>
60+ 
61+<div style="display:none;">
62+ 
63+## &#8203;torch.distributions
64+ 
65+</div>
66+ 
58## Distribution67## Distribution
59 68 
60### <code><i>class</i></code> torch.distributions.distribution.Distribution69### <code><i>class</i></code> torch.distributions.distribution.Distribution
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/user_guide/torch_compiler/export/api_reference.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/user_guide/torch_compiler/export/api_reference.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [torch.export API Reference](#torchexport-api-reference)13+## &#8203;torch.export
14 14 
15-## torch.export API Reference15+</div>
16 16 
17### torch.export.export17### torch.export.export
18 18 
@@ -13,11 +13,20 @@
13> `source {CANN包安装路径}/nnal/asdsip/set_env.sh`13> `source {CANN包安装路径}/nnal/asdsip/set_env.sh`
14> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/fft.html)。14> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/fft.html)。
15 15 
16-## 目录16+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
17+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
17 18 
18- [Fast Fourier Transforms](#fast-fourier-transforms)19- [Fast Fourier Transforms](#fast-fourier-transforms)
19- [Helper Functions](#helper-functions)20- [Helper Functions](#helper-functions)
20 21 
22+</div>
23+ 
24+<div style="display:none;">
25+ 
26+## &#8203;torch.fft
27+ 
28+</div>
29+ 
21## Fast Fourier Transforms30## Fast Fourier Transforms
22 31 
23### torch.fft.rfftn32### torch.fft.rfftn
@@ -8,11 +8,20 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://docs.pytorch.org/docs/2.12/func.api.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://docs.pytorch.org/docs/2.12/func.api.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Function Transforms](#function-transforms)14- [Function Transforms](#function-transforms)
14- [Utilities for working with torch.nn.Modules](#utilities-for-working-with-torchnnmodules)15- [Utilities for working with torch.nn.Modules](#utilities-for-working-with-torchnnmodules)
15 16 
17+</div>
18+ 
19+<div style="display:none;">
20+ 
21+## &#8203;torch.func
22+ 
23+</div>
24+ 
16## Function Transforms25## Function Transforms
17 26 
18### torch.func.grad_and_value27### torch.func.grad_and_value
@@ -8,11 +8,11 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/futures.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/futures.html)。
10 10 
11-## 目录11+<div style="display:none;">
12 12 
13-- [API Reference](#api-reference)13+## &#8203;torch.futures
14 14 
15-## API Reference15+</div>
16 16 
17### <code><i>class</i></code> torch.futures.Future17### <code><i>class</i></code> torch.futures.Future
18 18 
@@ -9,11 +9,20 @@
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://docs.pytorch.org/docs/2.12/fx.experimental.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://docs.pytorch.org/docs/2.12/fx.experimental.html)。
10> - 原生社区提示torch.fx.experimental模块下的API属于实验性质,存在随时变更的风险,建议参考原生文档后谨慎使用。10> - 原生社区提示torch.fx.experimental模块下的API属于实验性质,存在随时变更的风险,建议参考原生文档后谨慎使用。
11 11 
12-## 目录12+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
13+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
13 14 
14- [torch.fx.experimental.symbolic_shapes](#torchfxexperimentalsymbolic_shapes)15- [torch.fx.experimental.symbolic_shapes](#torchfxexperimentalsymbolic_shapes)
15- [torch.fx.experimental.proxy_tensor](#torchfxexperimentalproxy_tensor)16- [torch.fx.experimental.proxy_tensor](#torchfxexperimentalproxy_tensor)
16 17 
18+</div>
19+ 
20+<div style="display:none;">
21+ 
22+## &#8203;torch.fx.experimental
23+ 
24+</div>
25+ 
17## torch.fx.experimental.symbolic_shapes26## torch.fx.experimental.symbolic_shapes
18 27 
19### <code><i>class</i></code> torch.fx.experimental.symbolic_shapes.ShapeEnv28### <code><i>class</i></code> torch.fx.experimental.symbolic_shapes.ShapeEnv
@@ -8,12 +8,21 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/fx.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/fx.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [API Reference](#api-reference)14- [API Reference](#api-reference)
14- [torch.fx.node](#torchfxnode)15- [torch.fx.node](#torchfxnode)
15- [torch.fx.passes.regional_inductor](#torchfxpassesregional_inductor)16- [torch.fx.passes.regional_inductor](#torchfxpassesregional_inductor)
16 17 
18+</div>
19+ 
20+<div style="display:none;">
21+ 
22+## &#8203;torch.fx
23+ 
24+</div>
25+ 
17## API Reference26## API Reference
18 27 
19### torch.fx.symbolic_trace28### torch.fx.symbolic_trace
@@ -8,10 +8,19 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/hub.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/hub.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Loading models from Hub](#loading-models-from-hub)14- [Loading models from Hub](#loading-models-from-hub)
14 15 
16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.hub
21+ 
22+</div>
23+ 
15## Loading models from Hub24## Loading models from Hub
16 25 
17### torch.hub.list26### torch.hub.list
@@ -8,10 +8,19 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/library.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/library.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Low-level APIs](#low-level-apis)14- [Low-level APIs](#low-level-apis)
14 15 
16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.library
21+ 
22+</div>
23+ 
15## Low-level APIs24## Low-level APIs
16 25 
17### <code><i>class</i></code> torch.library.Library26### <code><i>class</i></code> torch.library.Library
@@ -8,7 +8,8 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/linalg.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/linalg.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Matrix Properties](#matrix-properties)14- [Matrix Properties](#matrix-properties)
14- [Decompositions](#decompositions)15- [Decompositions](#decompositions)
@@ -16,6 +17,14 @@
16- [Matrix Products](#matrix-products)17- [Matrix Products](#matrix-products)
17- [Experimental Functions](#experimental-functions)18- [Experimental Functions](#experimental-functions)
18 19 
20+</div>
21+ 
22+<div style="display:none;">
23+ 
24+## &#8203;torch.linalg
25+ 
26+</div>
27+ 
19## Matrix Properties28## Matrix Properties
20 29 
21### torch.linalg.norm30### torch.linalg.norm
@@ -8,10 +8,19 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/monitor.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/monitor.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [API Reference](#api-reference)14- [API Reference](#api-reference)
14 15 
16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.monitor
21+ 
22+</div>
23+ 
15## API Reference24## API Reference
16 25 
17### <code><i>class</i></code> torch.monitor.Aggregation26### <code><i>class</i></code> torch.monitor.Aggregation
@@ -8,10 +8,19 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/nested.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/nested.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Detailed Docs for Construction and Conversion Functions](#detailed-docs-for-construction-and-conversion-functions)14- [Detailed Docs for Construction and Conversion Functions](#detailed-docs-for-construction-and-conversion-functions)
14 15 
16+</div>
17+ 
18+<div style="display:none;">
19+ 
20+## &#8203;torch.nested
21+ 
22+</div>
23+ 
15## Detailed Docs for Construction and Conversion Functions24## Detailed Docs for Construction and Conversion Functions
16 25 
17### torch.nested.nested_tensor26### torch.nested.nested_tensor
@@ -8,7 +8,8 @@
8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。8> - 产品支持范围说明:文档中仅提供已验证的产品信息,未经过验证产品暂不纳入。
9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/nn.functional.html)。9> - 目录下罗列的模块和原生文档一致,对于模块的相关说明请查看原生文档[LINK](https://pytorch.org/docs/2.12/nn.functional.html)。
10 10 
11-## 目录11+<div style="border:1px solid #d1d5da;margin:10px 0;padding:16px 20px;background-color:#f3f4f5;border-radius:.25rem">
12+<div style="margin: 8px 0"><font size="5"><b>目录</b></font></div>
12 13 
13- [Convolution functions](#convolution-functions)14- [Convolution functions](#convolution-functions)
14- [Pooling functions](#pooling-functions)15- [Pooling functions](#pooling-functions)
@@ -22,6 +23,14 @@
22- [Vision functions](#vision-functions)23- [Vision functions](#vision-functions)
23- [Low-Precision functions](#low-precision-functions)24- [Low-Precision functions](#low-precision-functions)
24 25 
26+</div>
27+ 
28+<div style="display:none;">
29+ 
30+## &#8203;torch.nn.functional
31+ 
32+</div>
33+ 
25### torch.nn.parallel.data_parallel34### torch.nn.parallel.data_parallel
26 35 
27<div style="margin-left: 2em">36<div style="margin-left: 2em">