File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
docs/guides/model_convert/convert_from_pytorch Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 453
453
| ALIAS-REFERENCE-ITEM(` torch.utils.data.sampler.WeightedRandomSampler ` , ` torch.utils.data.WeightedRandomSampler ` ) |
454
454
| ALIAS-REFERENCE-ITEM(` torch.utils.model_zoo.load_url ` , ` torch.hub.load_state_dict_from_url ` ) |
455
455
| ALIAS-REFERENCE-ITEM(` torch.xlogy ` , ` torch.special.xlogy ` ) |
456
+ | ALIAS-REFERENCE-ITEM(` torch.cuda.reset_max_memory_cached ` , ` torch.cuda.reset_max_memory_reserved ` ) |
457
+ | ALIAS-REFERENCE-ITEM(` torch.cuda.reset_peak_memory_stats ` , ` torch.cuda.reset_max_memory_allocated ` ) |
456
458
457
459
## <span id =" id25 " >功能缺失的 API 列表</span >
458
460
1161
1163
| IN-DEVELOPMENT-PATTERN(` torch.cuda.comm.gather ` , https://pytorch.org/docs/stable/generated/torch.cuda.comm.gather.html#torch-cuda-comm-gather) |
1162
1164
| IN-DEVELOPMENT-PATTERN(` torch.cuda.StreamContext ` , https://pytorch.org/docs/stable/generated/torch.cuda.StreamContext.html#torch.cuda.StreamContext) |
1163
1165
| IN-DEVELOPMENT-PATTERN(` torch.Tensor.lu_solve ` , https://pytorch.org/docs/stable/generated/torch.Tensor.lu_solve.html#torch-tensor-lu-solve) |
1164
- | IN-DEVELOPMENT-PATTERN(` torch.cuda.reset_peak_memory_stats ` , https://pytorch.org/docs/stable/generated/torch.cuda.reset_peak_memory_stats.html#torch-cuda-reset-peak-memory-stats) |
1165
- | IN-DEVELOPMENT-PATTERN(` torch.cuda.reset_max_memory_cached ` , https://pytorch.org/docs/stable/generated/torch.cuda.reset_max_memory_cached.html#torch-cuda-reset-max-memory-cached) |
1166
1166
| IN-DEVELOPMENT-PATTERN(` torch.autograd.Function.jvp ` , https://pytorch.org/docs/stable/generated/torch.autograd.Function.jvp.html#torch-autograd-function-jvp) |
Original file line number Diff line number Diff line change 13
13
14
14
PADDLE_DOCS_BASE_URL = "https://github.com/PaddlePaddle/docs/tree/develop/docs/guides/model_convert/convert_from_pytorch/"
15
15
16
- validate_whitelist = [
17
- r"torch.pi.md" ,
18
- ]
16
+ validate_whitelist = []
19
17
20
18
mapping_type_levels = [
21
19
# type 0
You can’t perform that action at this time.
0 commit comments