merge docs/set-grad-enabled-clone into master
4 file(s) changed+64-0
Mdocs/zh/api/native_api/pytorch_2-11-0/torch.md+16-0
| @@ -2427,6 +2427,22 @@ | |||
| 2427 | | <term>Atlas A3 训练系列产品</term> | ✔ | | 2427 | | <term>Atlas A3 训练系列产品</term> | ✔ | |
| 2428 | | <term>Ascend 950DT</term> | ✗ | | 2428 | | <term>Ascend 950DT</term> | ✗ | |
| 2429 | 2429 | ||
| 2430 | +> <font size="3">clone()</font> | ||
| 2431 | + | ||
| 2432 | +<div style="margin-left: 2em"> | ||
| 2433 | + | ||
| 2434 | +**原生文档**:[torch.autograd.grad_mode.set_grad_enabled.clone](https://pytorch.org/docs/2.11/generated/torch.autograd.grad_mode.set_grad_enabled.html#torch.autograd.grad_mode.set_grad_enabled.clone) | ||
| 2435 | + | ||
| 2436 | +**支持情况**: | ||
| 2437 | + | ||
| 2438 | +| 硬件 | 是否支持 | | ||
| 2439 | +| ---- | :----: | | ||
| 2440 | +| <term>Atlas A2 训练系列产品</term> | ✔ | | ||
| 2441 | +| <term>Atlas A3 训练系列产品</term> | ✔ | | ||
| 2442 | +| <term>Ascend 950DT</term> | ✗ | | ||
| 2443 | + | ||
| 2444 | +</div> | ||
| 2445 | + | ||
| 2430 | </div> | 2446 | </div> |
| 2431 | 2447 | ||
| 2432 | ### torch.is_grad_enabled | 2448 | ### torch.is_grad_enabled |
Mdocs/zh/api/native_api/pytorch_2-12-0/torch.md+16-0
Mdocs/zh/api/native_api/pytorch_2-13-0/torch.md+16-0
Mdocs/zh/api/native_api/pytorch_2-7-1/torch.md+16-0
Comments
Sign in to comment