torch.utils.benchmark
Note
若API“是否支持”为“是”,“限制与说明”为“-”,说明此API和原生API支持度保持一致。
| API名称 | 是否支持 | 限制与说明 |
|---|---|---|
| torch.utils.benchmark.Timer | 是 | - |
| torch.utils.benchmark.Timer.blocked_autorange | 是 | - |
| torch.utils.benchmark.Timer.collect_callgrind | 是 | - |
| torch.utils.benchmark.Timer.timeit | 是 | - |
| torch.utils.benchmark.Measurement | 是 | - |
| torch.utils.benchmark.CallgrindStats | 是 | - |
| torch.utils.benchmark.CallgrindStats.as_standardized | 是 | - |
| torch.utils.benchmark.CallgrindStats.counts | 是 | - |
| torch.utils.benchmark.CallgrindStats.delta | 是 | - |
| torch.utils.benchmark.CallgrindStats.stats | 是 | - |
| torch.utils.benchmark.FunctionCounts | 是 | - |
| torch.utils.benchmark.FunctionCounts.denoise | 是 | - |
| torch.utils.benchmark.FunctionCounts.filter | 是 | - |
| torch.utils.benchmark.FunctionCounts.transform | 是 | - |